summaryrefslogtreecommitdiffstats
path: root/build/build_config.h
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-28 00:32:10 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-28 00:32:10 +0000
commitc2a4c3d9954148e090332e29a2d88f64dffe9a3a (patch)
tree6b2449ec85d35e7ac9aab8c539536c8199c473e7 /build/build_config.h
parente09cfd8679ef12b16e17a1d246a1057d24c6132c (diff)
downloadchromium_src-c2a4c3d9954148e090332e29a2d88f64dffe9a3a.zip
chromium_src-c2a4c3d9954148e090332e29a2d88f64dffe9a3a.tar.gz
chromium_src-c2a4c3d9954148e090332e29a2d88f64dffe9a3a.tar.bz2
Use the USE_NSS macro to help porting to FreeBSD, OpenBSD, etc.
Fix cpplint nits. R=evan,pvalchev BUG=none TEST=No compilation errors. Review URL: http://codereview.chromium.org/558008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37358 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/build_config.h')
-rw-r--r--build/build_config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/build_config.h b/build/build_config.h
index da7a37f..ebf72f3 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -49,14 +49,15 @@
// For access to standard POSIXish features, use OS_POSIX instead of a
// more specific macro.
-#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD)
+#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || \
+ defined(OS_OPENBSD)
#define OS_POSIX 1
// Use base::DataPack for name/value pairs.
#define USE_BASE_DATA_PACK 1
#endif
// Use tcmalloc
-#if defined(OS_WIN) && ! defined(NO_TCMALLOC)
+#if defined(OS_WIN) && !defined(NO_TCMALLOC)
#define USE_TCMALLOC 1
#endif