ithewei 6 years ago
parent
commit
0d7946455e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hplatform.h

+ 2 - 2
hplatform.h

@@ -7,11 +7,11 @@
 #elif defined(WIN64) || defined(_WIN64)
     #define OS_WIN64
     #define OS_WIN32
-#elif defined(linux) || defined(__linux) || defined(__linux__)
-    #define OS_LINUX
 #elif defined(ANDROID) || defined(__ANDROID__)
     #define OS_ANDROID
     #define OS_LINUX
+#elif defined(linux) || defined(__linux) || defined(__linux__)
+    #define OS_LINUX
 #elif defined(__APPLE__) && (defined(__GNUC__) || defined(__xlC__) || defined(__xlc__))
     #include <TargetConditionals.h>
     #if defined(TARGET_OS_MAC) && TARGET_OS_MAC