Index: runtime/bin/thread_pool_macos.h |
diff --git a/runtime/bin/thread_pool_macos.h b/runtime/bin/thread_pool_macos.h |
index d29b6f8b1dcdb4640c19f8739ca8e93a86b065ec..b24a73e3283c62a26a99e0e44edb835b2a4aa008 100644 |
--- a/runtime/bin/thread_pool_macos.h |
+++ b/runtime/bin/thread_pool_macos.h |
@@ -5,6 +5,10 @@ |
#ifndef BIN_THREAD_POOL_MACOS_H_ |
#define BIN_THREAD_POOL_MACOS_H_ |
+#if !defined(BIN_THREAD_POOL_H_) |
+#error Do not include thread_pool_macos.h directly; use thread_pool.h instead. |
+#endif |
+ |
#include <pthread.h> |
#include "platform/globals.h" |