mirror of
https://github.com/holub/mame
synced 2025-07-08 11:21:56 +03:00
proper fix (nw)
This commit is contained in:
parent
01c732defa
commit
3fff3faf6c
7
3rdparty/bx/src/string.cpp
vendored
7
3rdparty/bx/src/string.cpp
vendored
@ -5,14 +5,7 @@
|
|||||||
|
|
||||||
#include <bx/allocator.h>
|
#include <bx/allocator.h>
|
||||||
#include <bx/hash.h>
|
#include <bx/hash.h>
|
||||||
#ifdef __GNUC__
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wstrict-overflow"
|
|
||||||
#endif
|
|
||||||
#include <bx/readerwriter.h>
|
#include <bx/readerwriter.h>
|
||||||
#ifdef __GNUC__
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
#endif
|
|
||||||
#include <bx/string.h>
|
#include <bx/string.h>
|
||||||
|
|
||||||
#if !BX_CRT_NONE
|
#if !BX_CRT_NONE
|
||||||
|
@ -768,7 +768,14 @@ project "bx"
|
|||||||
includedirs {
|
includedirs {
|
||||||
MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
|
MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then
|
||||||
|
configuration { "linux*" }
|
||||||
|
buildoptions {
|
||||||
|
"-Wno-strict-overflow",
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
configuration { }
|
configuration { }
|
||||||
|
|
||||||
includedirs {
|
includedirs {
|
||||||
|
Loading…
Reference in New Issue
Block a user