Fix for msvc compile, lua_bit.cpp wont try to compile if lua isn't set to build

This commit is contained in:
KimLS
2013-06-26 08:05:36 -07:00
parent 1480b8911f
commit 602b17f0e8
4 changed files with 20 additions and 18 deletions
+2
View File
@@ -26,6 +26,7 @@
** [ MIT license: http://www.opensource.org/licenses/mit-license.php ]
*/
#ifdef LUA_EQEMU
#define LUA_BITOP_VERSION "1.0.2"
#include "lua.hpp"
@@ -177,3 +178,4 @@ LUALIB_API int luaopen_bit(lua_State *L)
return 1;
}
#endif