summaryrefslogtreecommitdiffstats
path: root/base/port.h
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 21:16:50 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-04 21:16:50 +0000
commit4867b181a0409933ecbc581aeacafeee7cf92ab8 (patch)
tree4b7ecb9b261b352937e3b846a69aa7c471cd0109 /base/port.h
parent719ead5027772e9be7708cb2414a95df5499595f (diff)
downloadchromium_src-4867b181a0409933ecbc581aeacafeee7cf92ab8.zip
chromium_src-4867b181a0409933ecbc581aeacafeee7cf92ab8.tar.gz
chromium_src-4867b181a0409933ecbc581aeacafeee7cf92ab8.tar.bz2
Provide OS_ and COMPILER_ macros for OS and compiler differentiation
Review URL: http://chrome-reviews.prom.corp.google.com/1108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/port.h')
-rw-r--r--base/port.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/port.h b/base/port.h
index db688dc..12b2a90 100644
--- a/base/port.h
+++ b/base/port.h
@@ -30,7 +30,9 @@
#ifndef BASE_PORT_H__
#define BASE_PORT_H__
-#ifdef MSC_VER
+#include "build/build_config.h"
+
+#ifdef COMPILER_MSVC
#define GG_LONGLONG(x) x##I64
#define GG_ULONGLONG(x) x##UI64
#else