aboutsummaryrefslogtreecommitdiff
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, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9b0da69..4617beb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -12,6 +12,8 @@
#include <Windows.h>
+#if !UNITTEST
+
int main(int argc, char* argv[])
{
// global lua state, all lua values are here
@@ -48,3 +50,5 @@ int main(int argc, char* argv[])
return 0;
}
+
+#endif // unit test \ No newline at end of file