ソースを参照

Properly fix the Lua/check() macro collision

David Wimsey 11 年 前
コミット
41ff4e6162
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Build/CMakeLists.txt

+ 1 - 1
Build/CMakeLists.txt

@@ -81,7 +81,7 @@ if(APPLE)
 	# Disables naked builtins from AssertMacros.h which
 	# This prevents naming collisions such as those from the check()
 	# function macro with LuaType::check
-	add_definitions(-D_ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0)
+	add_definitions(-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0)
 endif(APPLE)
 
 #===================================