Index: runtime/platform/thread_win.h |
diff --git a/runtime/platform/thread_win.h b/runtime/platform/thread_win.h |
index 1c49aed6aed17c73b56a8550e8fe04d488e9c7e3..45235f191436f08759ab07070ed8e1a51114f51f 100644 |
--- a/runtime/platform/thread_win.h |
+++ b/runtime/platform/thread_win.h |
@@ -5,6 +5,10 @@ |
#ifndef PLATFORM_THREAD_WIN_H_ |
#define PLATFORM_THREAD_WIN_H_ |
+#if !defined(PLATFORM_THREAD_H_) |
+#error Do not include thread_win.h directly; use thread.h instead. |
+#endif |
+ |
#include "platform/globals.h" |
namespace dart { |