aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-28 23:44:32 +0800
committerchai <chaifix@163.com>2018-07-28 23:44:32 +0800
commite9dcb75fb3cdbabd7152b0303af4dc27b4bcca3d (patch)
treea3b3c765780a4304306ee37da33fadfdfe8857d2 /src/main.cpp
parent7cce806948349c77a9863e6c5328d20f463f8b6c (diff)
*update
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 505f48c..256f39d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -12,8 +12,6 @@
#include <Windows.h>
-#if !UNITTEST
-
int main(int argc, char* argv[])
{
// global lua state, all lua values are here
@@ -49,6 +47,4 @@ int main(int argc, char* argv[])
jin::lua::boot(L);
return 0;
-}
-
-#endif // unit test \ No newline at end of file
+} \ No newline at end of file