Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: runtime/platform/thread_win.h

Issue 9264006: Add additional include guard in platform specific .h files (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/platform/thread_macos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « runtime/platform/thread_macos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698