Index: runtime/platform/globals.h |
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h |
index 5e3b0116ff5d2e54aba26091063e8611e206d322..3a3ed26d56d80c92ca1ab09421aa30f1fcfe1ecc 100644 |
--- a/runtime/platform/globals.h |
+++ b/runtime/platform/globals.h |
@@ -113,6 +113,9 @@ |
// Windows, both 32- and 64-bit, regardless of the check for _WIN32. |
#define TARGET_OS_WINDOWS 1 |
+#elif defined(__Fuchsia__) |
+#define TARGET_OS_FUCHSIA |
+ |
#elif !defined(TARGET_OS_FUCHSIA) |
#error Automatic target os detection failed. |
#endif |