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

Side by Side 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; r78670; make atlcheck.h not pull in header 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BASE_WIN_ATLCHECK_H_
6 #define BASE_WIN_ATLCHECK_H_
7
8 // USAGE: Put after atl headers in all headers; headers only.
Mark Mentovai 2011/03/18 14:54:47 Put after ATL headers in all headers that include
RN 2011/03/18 16:39:56 Sounds better, done.
9 //
10 // Windows DDK 7.1's ATL atlmem.h pulls in intsafe.h which has it's
Mark Mentovai 2011/03/18 14:54:47 it's -> its
RN 2011/03/18 16:39:56 Done.
11 // own version of INT/ETC_MIN/MAX which is not wrapped with an ifdef; thus,
12 // it needs to be included first. This simulates the include conflicts
13 // that occur with non-DDK ATL versions.
14 //
15 // Various ATL headers such as atlwin.h pull in atlmem.h. Including an ICU
16 // header before the ATL headers is the most likely source if an error is
17 // generated.
18 #if defined(__ATLMEM_H__)
19 # if defined(INT8_MAX) && !defined(DWORD_ERROR) // DWORD_ERROR is intsafe.h
Mark Mentovai 2011/03/18 14:54:47 We never indent preprocessor macros at all. Pull a
RN 2011/03/18 16:39:56 Yeah, done. While the guidelines said no indentati
20 # error Certain ATL headers must be before any third party ones
21 # endif
22 #else
23 # undef BASE_WIN_ATLCHECK_H_ // atlmem.h not included, check again
24 #endif
25
26 #endif // BASE_WIN_ATLCHECK_H_
OLDNEW
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698