summaryrefslogtreecommitdiffstats
path: root/build/build_config.h
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 11:21:28 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 11:21:28 +0000
commit1020d2f359c516286d799a3df06f6050ed99c3cd (patch)
treee69174cca3f7966175ebfc0565866af58a2d4e2e /build/build_config.h
parentefe25e2f17d2c8859b30fe666466de405ffa8f27 (diff)
downloadchromium_src-1020d2f359c516286d799a3df06f6050ed99c3cd.zip
chromium_src-1020d2f359c516286d799a3df06f6050ed99c3cd.tar.gz
chromium_src-1020d2f359c516286d799a3df06f6050ed99c3cd.tar.bz2
Detect linux with '__linux__' since 'linux' is not defined with -ansi.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@864 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 d667951..798c759 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -42,7 +42,7 @@
// A set of macros to use for platform detection.
#if defined(__APPLE__)
#define OS_MACOSX 1
-#elif defined(linux)
+#elif defined(__linux__)
#define OS_LINUX 1
#elif defined(WIN32)
#define OS_WIN 1