mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Define __PRETTY_FUNCTION__ for Windows
mozilla/LinkedList.h uses __PRETTY_FUNCTION__ in debug builds, even when using MSVC, so just define it to allow building with C++20. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
af3f7acfe7
commit
c12d52b8c3
1 changed files with 5 additions and 0 deletions
|
|
@ -241,6 +241,11 @@ function project_set_build_flags()
|
|||
debugenvs { "_NO_DEBUG_HEAP=1" }
|
||||
end
|
||||
|
||||
if os.istarget("windows") then
|
||||
-- mozilla 115 linked list destructor in debug build
|
||||
defines { "__PRETTY_FUNCTION__=__FUNCSIG__" }
|
||||
end
|
||||
|
||||
filter { "Debug", "action:vs*" }
|
||||
defines { "DEBUG" }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue