mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-13 02:43:54 +08:00
update the source of that define
This commit is contained in:
parent
58237f655e
commit
2ca2e834c7
@ -378,8 +378,13 @@ filter { "configurations:*debug" }
|
|||||||
filter { "system:windows", }
|
filter { "system:windows", }
|
||||||
defines {
|
defines {
|
||||||
"_CRT_SECURE_NO_WARNINGS",
|
"_CRT_SECURE_NO_WARNINGS",
|
||||||
|
}
|
||||||
|
-- MinGw on Windows doesn't have a definition for '_S_IFDIR' which is microsoft specific: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/stat-functions
|
||||||
|
-- this is used in 'base.cpp' -> if ( buffer.st_mode & _S_IFDIR)
|
||||||
|
-- instead microsoft has an alternative but only enabled when _CRT_DECLARE_NONSTDC_NAMES is defined
|
||||||
-- https://learn.microsoft.com/en-us/cpp/c-runtime-library/compatibility
|
-- https://learn.microsoft.com/en-us/cpp/c-runtime-library/compatibility
|
||||||
|
filter { "system:windows", "action:gmake*", }
|
||||||
|
defines {
|
||||||
-- '_CRT_NONSTDC_NO_WARNINGS',
|
-- '_CRT_NONSTDC_NO_WARNINGS',
|
||||||
'_CRT_DECLARE_NONSTDC_NAMES',
|
'_CRT_DECLARE_NONSTDC_NAMES',
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user