Index: runtime/platform/thread_macos.h |
diff --git a/runtime/platform/thread_macos.h b/runtime/platform/thread_macos.h |
index baf5a9c292cfede3a5f1753c0ed3d12f405771c5..a836dc31aa4f02ccfd1662386f3400e5913382c9 100644 |
--- a/runtime/platform/thread_macos.h |
+++ b/runtime/platform/thread_macos.h |
@@ -5,6 +5,10 @@ |
#ifndef PLATFORM_THREAD_MACOS_H_ |
#define PLATFORM_THREAD_MACOS_H_ |
+#if !defined(PLATFORM_THREAD_H_) |
+#error Do not include thread_macos.h directly; use thread.h instead. |
+#endif |
+ |
#include <pthread.h> |
#include "platform/globals.h" |