update SkPostConfig.h to unset LEAN_AND_MEAN if it set it before including <windows.h>
git-svn-id: http://skia.googlecode.com/svn/trunk@148 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
9c970453fd
commit
16690af1c2
@ -94,9 +94,17 @@
|
||||
#endif
|
||||
|
||||
#ifdef SK_BUILD_FOR_WIN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
// we want lean_and_mean when we include windows.h
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_IS_MEAN_WAS_LOCALLY_DEFINED
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
|
||||
#ifdef WIN32_IS_MEAN_WAS_LOCALLY_DEFINED
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#ifndef SK_DEBUGBREAK
|
||||
#define SK_DEBUGBREAK(cond) do { if (!(cond)) DebugBreak(); } while (false)
|
||||
|
Loading…
Reference in New Issue
Block a user