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

Unified Diff: base/win/atlcheck.h

Issue 6676030: WinDDK ATL and MSVC express compatability (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: common.gypi: use gyp defines instead of direct compiler flags; _SECURE_ATL conditional handling Created 9 years, 9 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 | « no previous file | build/common.gypi » ('j') | build/common.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/atlcheck.h
===================================================================
--- base/win/atlcheck.h (revision 0)
+++ base/win/atlcheck.h (revision 0)
@@ -0,0 +1,15 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BASE_WIN_EVENT_ATLCHECK_H_
+#define BASE_WIN_EVENT_ATLCHECK_H_
+#pragma once
+
+// Windows DDK 7.1's ATL atlmem/atlwin.h pulls in intsafe.h which has it's
+// own version of INT/ETC_MIN/MAX which is not wrapped with an ifdef. Thus,
+// if needs to be included first. This is trigger to warnings and errors
+// with other ATL versions. intsafe.h is a WinSDK component, not DDK.
+#include <intsafe.h>
+
+#endif // BASE_WIN_EVENT_ATLCHECK_H_
« no previous file with comments | « no previous file | build/common.gypi » ('j') | build/common.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698