mirror of
https://github.com/holub/mame
synced 2025-06-06 12:53:46 +03:00
Fix build
This commit is contained in:
parent
cce44e050a
commit
bf30ebe77e
2
3rdparty/bgfx/3rdparty/stb/stb_rect_pack.h
vendored
2
3rdparty/bgfx/3rdparty/stb/stb_rect_pack.h
vendored
@ -488,6 +488,7 @@ static int rect_height_compare(const void *a, const void *b)
|
||||
return (p->w > q->w) ? -1 : (p->w < q->w);
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int rect_width_compare(const void *a, const void *b)
|
||||
{
|
||||
stbrp_rect *p = (stbrp_rect *) a;
|
||||
@ -498,6 +499,7 @@ static int rect_width_compare(const void *a, const void *b)
|
||||
return 1;
|
||||
return (p->h > q->h) ? -1 : (p->h < q->h);
|
||||
}
|
||||
#endif
|
||||
|
||||
static int rect_original_order(const void *a, const void *b)
|
||||
{
|
||||
|
@ -698,7 +698,7 @@ static void expat_data(void *data, const XML_Char *s, int len)
|
||||
if ((*curnode)->value != NULL)
|
||||
{
|
||||
memcpy(newdata, (*curnode)->value, oldlen);
|
||||
free((*curnode)->value);
|
||||
free((void *)(*curnode)->value);
|
||||
}
|
||||
(*curnode)->value = newdata;
|
||||
|
||||
|
@ -20,6 +20,9 @@
|
||||
|
||||
typedef ComponentDescription AudioComponentDescription;
|
||||
|
||||
@protocol NSApplicationDelegate <NSObject>
|
||||
@end
|
||||
|
||||
@protocol NSWindowDelegate <NSObject>
|
||||
@end
|
||||
|
||||
@ -723,7 +726,7 @@ static void UpdateChangeCountCallback(void *userData,
|
||||
@end
|
||||
|
||||
|
||||
@interface AUEffectUtilAppDelegate : NSObject<NSApplicationDelegate>
|
||||
@interface AUEffectUtilAppDelegate : NSObject <NSApplicationDelegate>
|
||||
{
|
||||
EffectInfo *effects;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user