Started work on adding Mac support (non rpgxEF)

Maybe even for rpgxEF if I manage to get rpgxEF compiled for it.
This commit is contained in:
Walter Hennecke 2011-11-22 11:52:50 +01:00
parent 491d98d1c2
commit f4ceb2f558

View file

@ -21,6 +21,9 @@
#elif defined WIN32
#define HOSTARCH "WIN32"
#define EXTENSION "dll"
#elif defined __APPLE__
#define HOSTARCH "UNIX"
#define EXTENSION "dylib"
#endif
#define Lua_RegisterGlobal(L, n, v) (lua_pushstring(L, v), lua_setglobal(L, n))