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

Unified Diff: runtime/platform/thread_macos.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_linux.h ('k') | runtime/platform/thread_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « runtime/platform/thread_linux.h ('k') | runtime/platform/thread_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698