summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ab1f8d3..3149b66 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,6 +2,7 @@
#include "CLI11.hpp"
#include "Companion.h"
+#ifdef STANDALONE
Companion* Companion::Instance;
int main(int argc, char *argv[]) {
@@ -19,4 +20,5 @@ int main(int argc, char *argv[]) {
Companion::Instance = new Companion(filename);
Companion::Instance->Init();
return 0;
-} \ No newline at end of file
+}
+#endif \ No newline at end of file