summaryrefslogtreecommitdiffstats
path: root/build/build_config.h
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 15:42:08 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 15:42:08 +0000
commitf61b898ba829ce8b1393f5a518a0f28eaafa1408 (patch)
treec44718a028b273b053e9ab3d8e2cc303f03a6f0d /build/build_config.h
parent7c32108b22446be27129324ce41d32e9c909e379 (diff)
downloadchromium_src-f61b898ba829ce8b1393f5a518a0f28eaafa1408.zip
chromium_src-f61b898ba829ce8b1393f5a518a0f28eaafa1408.tar.gz
chromium_src-f61b898ba829ce8b1393f5a518a0f28eaafa1408.tar.bz2
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
Diffstat (limited to 'build/build_config.h')
-rw-r--r--build/build_config.h2
1 files changed, 1 insertions, 1 deletions
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