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

Unified Diff: runtime/bin/thread_pool_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/bin/thread_pool_macos.h ('k') | runtime/platform/thread_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/thread_pool_win.h
diff --git a/runtime/bin/thread_pool_win.h b/runtime/bin/thread_pool_win.h
index 74482cc76869fdf05432e9094824a744718031cf..5a6f450aca2d294c7937824fced6cd48f64159bf 100644
--- a/runtime/bin/thread_pool_win.h
+++ b/runtime/bin/thread_pool_win.h
@@ -5,6 +5,10 @@
#ifndef BIN_THREAD_POOL_WIN_H_
#define BIN_THREAD_POOL_WIN_H_
+#if !defined(BIN_THREAD_POOL_H_)
+#error Do not include thread_pool_win.h directly; use thread_pool.h instead.
+#endif
+
#include "platform/globals.h"
class ThreadPoolData {
« no previous file with comments | « runtime/bin/thread_pool_macos.h ('k') | runtime/platform/thread_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698