summaryrefslogtreecommitdiff
path: root/src/third_party/s2/base/definer.h
diff options
context:
space:
mode:
authorColin Stolley <cstolley@hushmail.com>2014-02-17 16:51:34 -0600
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-04-18 19:28:50 -0400
commit978567c61a4b3bd84729a7e2379694fb4fc0c483 (patch)
tree9415a9fb2dc461aed802a309ecbbd2b55538f5fb /src/third_party/s2/base/definer.h
parent019c401589b34b46bf7bec801e23bd3dd7796151 (diff)
downloadmongo-978567c61a4b3bd84729a7e2379694fb4fc0c483.tar.gz
SERVER-1120 OpenBSD Port
This patch should enable building on OpenBSD 5.4. - added a processinfo implementation based heavily off of the same code for freebsd. - fixed a few scons problems in mongo and v8 - added __openbsd__ directives to s2 build - Don't disturb bswap() functions on freebsd. - Fixed indentation sloppiness. No code changes. Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
Diffstat (limited to 'src/third_party/s2/base/definer.h')
-rw-r--r--src/third_party/s2/base/definer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/s2/base/definer.h b/src/third_party/s2/base/definer.h
index c3dd26d357e..a99f7c05ed0 100644
--- a/src/third_party/s2/base/definer.h
+++ b/src/third_party/s2/base/definer.h
@@ -7,7 +7,7 @@
# define OS_LINUX
#elif defined _WIN32
# define OS_WINDOWS
-#elif defined __freebsd__
+#elif defined __freebsd__ || defined __openbsd__
# define OS_FREEBSD
#endif