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: http://src.chromium.org/svn/trunk/src/build@37358 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
18bb589b7d
Коммит
1bcb873f4f
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче