Index: runtime/bin/eventhandler_win.h |
diff --git a/runtime/bin/eventhandler_win.h b/runtime/bin/eventhandler_win.h |
index 9843093216f011d8b80ed6bab79f871dbfac339e..cfc0d8c14261a3b824eb808d66229f3f55b1ea60 100644 |
--- a/runtime/bin/eventhandler_win.h |
+++ b/runtime/bin/eventhandler_win.h |
@@ -1,10 +1,14 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
#ifndef BIN_EVENTHANDLER_WIN_H_ |
#define BIN_EVENTHANDLER_WIN_H_ |
+#if !defined(BIN_EVENTHANDLER_H_) |
+#error Do not include eventhandler_win.h directly; use eventhandler.h instead. |
+#endif |
+ |
#include <winsock2.h> |
#include <mswsock.h> |