aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-20 23:37:11 +0800
committerchai <chaifix@163.com>2018-05-20 23:37:11 +0800
commit51ba9cb2a6b0b9395a2912eadeb954c95e4c1d3c (patch)
tree58ce7d8b50c0d9a451d26bf0b3230b1c2e2f2782 /src/main.cpp
parentadfda73e1810973a40b7bedd9a8edc3e7ab89e3c (diff)
修改目录结构
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