mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +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/hash.h>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstrict-overflow"
|
||||
#endif
|
||||
#include <bx/readerwriter.h>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
#include <bx/string.h>
|
||||
|
||||
#if !BX_CRT_NONE
|
||||
|
@ -768,7 +768,14 @@ project "bx"
|
||||
includedirs {
|
||||
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 { }
|
||||
|
||||
includedirs {
|
||||
|
Loading…
Reference in New Issue
Block a user