Index: build/build_config.h |
diff --git a/build/build_config.h b/build/build_config.h |
index 462518d26d6d5988ad6533e864c5674c8de31cad..7b56dd5cdec7902ccdc59b001d36d85fd0d89793 100644 |
--- a/build/build_config.h |
+++ b/build/build_config.h |
@@ -19,13 +19,13 @@ |
#endif |
// A set of macros to use for platform detection. |
-#if defined(__APPLE__) |
+#if defined(ANDROID) |
+#define OS_ANDROID 1 |
+#elif defined(__APPLE__) |
#define OS_MACOSX 1 |
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE |
#define OS_IOS 1 |
#endif // defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE |
-#elif defined(ANDROID) |
-#define OS_ANDROID 1 |
#elif defined(__native_client__) |
#define OS_NACL 1 |
#elif defined(__linux__) |