Index: third_party/cld/base/build_config.h |
diff --git a/third_party/cld/base/build_config.h b/third_party/cld/base/build_config.h |
index da7a37fb9ca04ac0b184e98b4e1c6814e5a3b25c..a938f3a28b694999ef13fef75b0be4f56eb82da3 100644 |
--- a/third_party/cld/base/build_config.h |
+++ b/third_party/cld/base/build_config.h |
@@ -32,6 +32,9 @@ |
#elif defined(__OpenBSD__) |
#define OS_OPENBSD 1 |
#define TOOLKIT_GTK |
+#elif defined(__sun) |
+#define OS_SOLARIS 1 |
+#define TOOLKIT_GTK |
#else |
#error Please add support for your platform in build/build_config.h |
#endif |
@@ -49,7 +52,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) |
+#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD) || defined(OS_SOLARIS) |
#define OS_POSIX 1 |
// Use base::DataPack for name/value pairs. |
#define USE_BASE_DATA_PACK 1 |