summaryrefslogtreecommitdiffstats
path: root/build/build_config.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-18 16:11:37 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-18 16:11:37 +0000
commitb5c72b82b5b19a3268ea5df60b79322f7f779027 (patch)
tree27bbd22eccca76f350d0e6350e78dcd20f297104 /build/build_config.h
parentc04057c9f62073cd266eebe462dd777f8fe6d7a5 (diff)
downloadchromium_src-b5c72b82b5b19a3268ea5df60b79322f7f779027.zip
chromium_src-b5c72b82b5b19a3268ea5df60b79322f7f779027.tar.gz
chromium_src-b5c72b82b5b19a3268ea5df60b79322f7f779027.tar.bz2
Solaris: Second set adding in Solaris as an OS option
TEST=compiles BUG=30101 Patch by James Choi <jchoi42@pha.jhu.edu>. Review URL: http://codereview.chromium.org/606075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/build_config.h')
-rw-r--r--build/build_config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/build/build_config.h b/build/build_config.h
index ebf72f3..0c349c0 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -32,6 +32,9 @@
#elif defined(__OpenBSD__)
#define OS_OPENBSD 1
#define TOOLKIT_GTK
+#elif defined(__Solaris__)
+#define OS_SOLARIS 1
+#define TOOLKIT_GTK
#else
#error Please add support for your platform in build/build_config.h
#endif
@@ -42,7 +45,8 @@
#define TOOLKIT_USES_GTK 1
#endif
-#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD)
+#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD) || \
+ defined(OS_SOLARIS)
#define USE_NSS 1 // Use NSS for crypto.
#define USE_X11 1 // Use X for graphics.
#endif
@@ -50,7 +54,7 @@
// 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)
+ defined(OS_OPENBSD) || defined(OS_SOLARIS)
#define OS_POSIX 1
// Use base::DataPack for name/value pairs.
#define USE_BASE_DATA_PACK 1