mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
made bgfx compile on more platforms (nw)
This commit is contained in:
parent
93025d33c1
commit
72d5222016
@ -469,6 +469,11 @@ project "bgfx"
|
|||||||
MAME_DIR .. "3rdparty/bx/include/compat/osx",
|
MAME_DIR .. "3rdparty/bx/include/compat/osx",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration { "gmake" }
|
||||||
|
buildoptions {
|
||||||
|
"-Wno-uninitialized",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { }
|
configuration { }
|
||||||
|
|
||||||
defines {
|
defines {
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
// drawbgfx.c - BGFX drawer
|
// drawbgfx.c - BGFX drawer
|
||||||
//
|
//
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
#if defined(SDLMAME_WIN32) || defined(OSD_WINDOWS)
|
|
||||||
// standard windows headers
|
|
||||||
#define __STDC_LIMIT_MACROS
|
#define __STDC_LIMIT_MACROS
|
||||||
#define __STDC_FORMAT_MACROS
|
#define __STDC_FORMAT_MACROS
|
||||||
#define __STDC_CONSTANT_MACROS
|
#define __STDC_CONSTANT_MACROS
|
||||||
|
|
||||||
|
#if defined(SDLMAME_WIN32) || defined(OSD_WINDOWS)
|
||||||
|
// standard windows headers
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user