From f61b898ba829ce8b1393f5a518a0f28eaafa1408 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Mon, 9 Feb 2009 15:42:08 +0000 Subject: WIN32 is defined by windows.h. _WIN32 is defined by the compiler. Fix the check to use _WIN32 since it is defined 100% of the time. Review URL: http://codereview.chromium.org/20108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9387 0039d316-1c4b-4281-b951-d872f2087c98 --- build/build_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/build_config.h') diff --git a/build/build_config.h b/build/build_config.h index 7124de6..2b9efda 100644 --- a/build/build_config.h +++ b/build/build_config.h @@ -19,7 +19,7 @@ #define OS_MACOSX 1 #elif defined(__linux__) #define OS_LINUX 1 -#elif defined(WIN32) +#elif defined(_WIN32) #define OS_WIN 1 #else #error Please add support for your platform in build/build_config.h -- cgit v1.1