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

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: Address comments: -EXPRESS define, memset always implemented, coding style 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') | chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc » ('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_
Mark Mentovai 2011/03/17 20:43:42 Fix the #include guards. The macro should not have
RN 2011/03/18 09:34:24 Done.
+#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') | chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698