diff options
Diffstat (limited to 'source/squirrelbindings/SquirrelFunctions.cpp')
-rw-r--r-- | source/squirrelbindings/SquirrelFunctions.cpp | 7 |
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 |