Skip to content
Permalink
Browse files
Merge pull request #6150 from MerryMage/macos-wx-underscore-macros
wxWidgets3: Fix compilation due to change in assert macros in macOS 10.13 SDK
  • Loading branch information
lioncash committed Oct 31, 2017
2 parents eaa2742 + 2d60474 commit 224996d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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}

0 comments on commit 224996d

Please sign in to comment.