Index: runtime/platform/globals.h |
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h |
index 8d3a15524c529b3f42785a0b862b2e5571709406..743a842780b53b593d1aa0c195f80f14513a71a4 100644 |
--- a/runtime/platform/globals.h |
+++ b/runtime/platform/globals.h |
@@ -88,6 +88,8 @@ |
#define TARGET_OS_ANDROID 1 |
#elif defined(__linux__) || defined(__FreeBSD__) |
#define TARGET_OS_LINUX 1 |
+#elif defined(__OpenBSD__) |
+#define TARGET_OS_OPENBSD 1 |
#elif defined(__APPLE__) |
// Define the flavor of Mac OS we are running on. |
#include <TargetConditionals.h> |