Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_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.
| |
| 6 #define BASE_WIN_EVENT_ATLCHECK_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 // Windows DDK 7.1's ATL atlmem/atlwin.h pulls in intsafe.h which has it's | |
| 10 // own version of INT/ETC_MIN/MAX which is not wrapped with an ifdef. Thus, | |
| 11 // if needs to be included first. This is trigger to warnings and errors | |
| 12 // with other ATL versions. intsafe.h is a WinSDK component, not DDK. | |
| 13 #include <intsafe.h> | |
| 14 | |
| 15 #endif // BASE_WIN_EVENT_ATLCHECK_H_ | |
| OLD | NEW |