mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Fix build
This commit is contained in:
parent
cce44e050a
commit
bf30ebe77e
3 changed files with 7 additions and 2 deletions
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue