Merge pull request #6150 from MerryMage/macos-wx-underscore-macros

wxWidgets3: Fix compilation due to change in assert macros in macOS 10.13 SDK
master
Mat M 2017-10-30 21:04:11 -04:00 committed by GitHub
commit 224996d652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}