diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-03-25 18:15:05 +0100 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-03-25 18:15:05 +0100 |
commit | eb3cc729d4e367c54a47369f712831908f8da22c (patch) | |
tree | da9c4465d05d8ca734eaa5aa3ee71d7fb5ec4cd1 /src/Bindings/PluginLua.cpp | |
parent | Added one more missing newline. (diff) | |
download | cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.gz cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.bz2 cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.lz cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.xz cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.zst cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.zip |
Diffstat (limited to 'src/Bindings/PluginLua.cpp')
-rw-r--r-- | src/Bindings/PluginLua.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp index cccbc3c93..ebabeb222 100644 --- a/src/Bindings/PluginLua.cpp +++ b/src/Bindings/PluginLua.cpp @@ -5,7 +5,11 @@ #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules +#ifdef __APPLE__ +#define LUA_USE_MACOSX +#else #define LUA_USE_POSIX +#endif #include "PluginLua.h" #include "../CommandOutput.h" @@ -14,6 +18,7 @@ extern "C" #include "lua/src/lualib.h" } +#undef TOLUA_TEMPLATE_BIND #include "tolua++/include/tolua++.h" |