Skip to content

Commit

Permalink
WIN32 is defined by windows.h. _WIN32 is defined by the compiler. Fix…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
maruel@chromium.org committed Feb 9, 2009
1 parent 7c32108 commit f61b898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f61b898

Please sign in to comment.