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

Unified Diff: runtime/platform/thread_linux.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/bin/thread_pool_win.h ('k') | runtime/platform/thread_macos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/thread_linux.h
diff --git a/runtime/platform/thread_linux.h b/runtime/platform/thread_linux.h
index 4681f30da40bffe8b94c85918fa13170b228b307..7e15e5e28385ffb31fc685bc51445f1018bf0030 100644
--- a/runtime/platform/thread_linux.h
+++ b/runtime/platform/thread_linux.h
@@ -5,6 +5,10 @@
#ifndef PLATFORM_THREAD_LINUX_H_
#define PLATFORM_THREAD_LINUX_H_
+#if !defined(PLATFORM_THREAD_H_)
+#error Do not include thread_linux.h directly; use thread.h instead.
+#endif
+
#include <pthread.h>
#include "platform/assert.h"
« no previous file with comments | « runtime/bin/thread_pool_win.h ('k') | runtime/platform/thread_macos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698