made bgfx compile on more platforms (nw)

This commit is contained in:
Miodrag Milanovic 2015-03-29 14:29:06 +02:00
parent 93025d33c1
commit 72d5222016
2 changed files with 8 additions and 3 deletions

View File

@ -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 {

View File

@ -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