blueloveTH 2 years ago
parent
commit
686905a7bf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/common.h

+ 4 - 0
src/common.h

@@ -43,6 +43,8 @@
 #define DEBUG_NO_AUTO_GC			0
 #define DEBUG_NO_AUTO_GC			0
 #define DEBUG_GC_STATS				0
 #define DEBUG_GC_STATS				0
 
 
+#ifndef PK_ENABLE_OS
+
 #ifdef __ANDROID__
 #ifdef __ANDROID__
 #include <android/ndk-version.h>
 #include <android/ndk-version.h>
 
 
@@ -56,6 +58,8 @@
 #define PK_ENABLE_OS 			1
 #define PK_ENABLE_OS 			1
 #endif
 #endif
 
 
+#endif
+
 // This is the maximum number of arguments in a function declaration
 // This is the maximum number of arguments in a function declaration
 // including positional arguments, keyword-only arguments, and varargs
 // including positional arguments, keyword-only arguments, and varargs
 #define PK_MAX_CO_VARNAMES			255
 #define PK_MAX_CO_VARNAMES			255