fix OSX compile issue due to 68e81a6
authorRobin Gareus <robin@gareus.org>
Sat, 27 Feb 2016 22:47:16 +0000 (23:47 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 27 Feb 2016 22:47:35 +0000 (23:47 +0100)
68e81a6 should be improved/reverted. Due to the long include chain ending
in ardour_ui.h  every Lua related change now forces a complete GUI
recompile (instead of just 2,3 files)

gtk2_ardour/cocoacarbon.mm

index 65648439726ddc3f870b1d5493f3240d5e7f2583..e26bd5788c0d78db8916a68c525fae70e5c2b185 100644 (file)
@@ -29,6 +29,8 @@
 #undef verify
 #endif
 
+#undef Nil // ardour_ui.h ->  window_manager.h -> lua_script_manager.h -> ardour/luascripting.h -> ... lua  uses Nil
+
 #include "ardour_ui.h"
 #include "actions.h"
 #include "opts.h"