summaryrefslogtreecommitdiff
path: root/src/cat/LuaTextbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/LuaTextbox.cpp')
-rw-r--r--src/cat/LuaTextbox.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cat/LuaTextbox.cpp b/src/cat/LuaTextbox.cpp
index 5721525..be4add9 100644
--- a/src/cat/LuaTextbox.cpp
+++ b/src/cat/LuaTextbox.cpp
@@ -1,3 +1,4 @@
+#ifdef LUACONSOLE
extern "C"
{
#include "lua.h"
@@ -112,4 +113,5 @@ int LuaTextbox::text(lua_State * l)
LuaTextbox::~LuaTextbox()
{
-} \ No newline at end of file
+}
+#endif \ No newline at end of file