summaryrefslogtreecommitdiffstats
path: root/source/squirrelbindings/SquirrelFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/squirrelbindings/SquirrelFunctions.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/squirrelbindings/SquirrelFunctions.cpp b/source/squirrelbindings/SquirrelFunctions.cpp
index 88871369d..b965c63ab 100644
--- a/source/squirrelbindings/SquirrelFunctions.cpp
+++ b/source/squirrelbindings/SquirrelFunctions.cpp
@@ -3,6 +3,9 @@
#include "SquirrelFunctions.h"
#include "SquirrelBindings.h"
+
+#if USE_SQUIRREL
+
static HSQUIRRELVM squirrelvm = NULL;
SQInteger runtimeErrorHandler(HSQUIRRELVM a_VM)
@@ -62,4 +65,6 @@ void CloseSquirrelVM()
void sqPrint(SQChar * text)
{
LOGINFO("%s", text);
-} \ No newline at end of file
+}
+
+#endif \ No newline at end of file