diff options
author | athenian200 <athenian200@outlook.com> | 2019-10-01 18:28:10 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2019-10-21 04:53:39 -0500 |
commit | 4105ebb6ed85aaffec5e4469a939945fb9eea066 (patch) | |
tree | 27c39693bf713900497c148fed1b9dc68c7ea4ba /ipc/chromium/src/build/build_config.h | |
parent | 64e03d0149bed895d00e20e71da775e2aabf2f81 (diff) | |
download | UXP-4105ebb6ed85aaffec5e4469a939945fb9eea066.tar UXP-4105ebb6ed85aaffec5e4469a939945fb9eea066.tar.gz UXP-4105ebb6ed85aaffec5e4469a939945fb9eea066.tar.lz UXP-4105ebb6ed85aaffec5e4469a939945fb9eea066.tar.xz UXP-4105ebb6ed85aaffec5e4469a939945fb9eea066.zip |
MoonchildProductions#1251 - Part 4: Core build system changes, lots of libevent/IPC junk.
This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else.
I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
Diffstat (limited to 'ipc/chromium/src/build/build_config.h')
-rw-r--r-- | ipc/chromium/src/build/build_config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipc/chromium/src/build/build_config.h b/ipc/chromium/src/build/build_config.h index 390fa77a8..7e6beb37a 100644 --- a/ipc/chromium/src/build/build_config.h +++ b/ipc/chromium/src/build/build_config.h @@ -32,6 +32,8 @@ #define OS_NETBSD 1 #elif defined(__OpenBSD__) #define OS_OPENBSD 1 +#elif defined(__sun__) +#define OS_SOLARIS 1 #elif defined(_WIN32) #define OS_WIN 1 #else @@ -47,7 +49,7 @@ // For access to standard POSIX features, use OS_POSIX instead of a more // specific macro. -#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD) +#if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD) || defined(OS_SOLARIS) #define OS_POSIX 1 #endif |