summaryrefslogtreecommitdiff
path: root/src/cat/LuaCheckbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/LuaCheckbox.cpp')
-rw-r--r--src/cat/LuaCheckbox.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cat/LuaCheckbox.cpp b/src/cat/LuaCheckbox.cpp
index bac5c4e..d844cf5 100644
--- a/src/cat/LuaCheckbox.cpp
+++ b/src/cat/LuaCheckbox.cpp
@@ -1,3 +1,4 @@
+#ifdef LUACONSOLE
extern "C"
{
#include "lua.h"
@@ -109,4 +110,5 @@ void LuaCheckbox::triggerAction()
LuaCheckbox::~LuaCheckbox()
{
-} \ No newline at end of file
+}
+#endif \ No newline at end of file