wxWidgets3: Fix compilation due to change in assert macros in macOS 10.13 SDK

This commit is contained in:
MerryMage 2017-10-29 20:13:00 +00:00
parent 91dac03c45
commit 2d6047472b
1 changed files with 1 additions and 1 deletions

View File

@ -825,7 +825,7 @@ target_compile_definitions(wx PRIVATE "WXBUILDING")
target_compile_options(wx PRIVATE "-w")
if(APPLE)
target_compile_definitions(wx PRIVATE "__WXOSX_COCOA__")
target_compile_definitions(wx PRIVATE "__WXOSX_COCOA__" "__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=1")
target_sources(wx PRIVATE
${SRCS_GENERICOSX}
${SRCS_OSX}