diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-05-11 10:52:35 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-05-11 10:52:35 (GMT) |
| commit | c2cdec9e621a2af25a256a484fdf68adc46ea96f (patch) | |
| tree | 69aee231e52e8ef85842b6b695c10f6f04aa4b25 /src/socket/socket.lua.cpp | |
| parent | d1c8978a34906c1adb6bdc3fbae7f12c06aa8324 (diff) | |
| download | powder-c2cdec9e621a2af25a256a484fdf68adc46ea96f.zip powder-c2cdec9e621a2af25a256a484fdf68adc46ea96f.tar.gz | |
Togglable lua scripting
Diffstat (limited to 'src/socket/socket.lua.cpp')
| -rw-r--r-- | src/socket/socket.lua.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket/socket.lua.cpp b/src/socket/socket.lua.cpp index 80b32f7..0032e2c 100644 --- a/src/socket/socket.lua.cpp +++ b/src/socket/socket.lua.cpp @@ -1,3 +1,4 @@ +#ifdef LUACONSOLE // socket.lua from luasocket compiled into a cpp file extern "C" { #include "lua.h" @@ -10,3 +11,4 @@ void luaopen_socket(lua_State *l){ luaL_loadbuffer(l, socket_luac, socket_luac_sz, "@builtin socket.lua"); lua_call(l, 0, 0); } +#endif
\ No newline at end of file |
