Chromium Code Reviews| 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_ |