summaryrefslogtreecommitdiff
path: root/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h
blob: 52c5d598d16453de1804ee1db818b12a24151c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$OpenBSD: patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h,v 1.2 2014/03/25 06:25:45 landry Exp $
https://bugs.webkit.org/show_bug.cgi?id=129972
--- Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h.orig	Mon Sep  9 11:20:59 2013
+++ Source/ThirdParty/gtest/include/gtest/internal/gtest-port.h	Mon Sep 23 22:46:15 2013
@@ -225,6 +225,8 @@
 #define GTEST_OS_HURD 1
 #elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
 #define GTEST_OS_FREEBSD 1
+#elif defined __OpenBSD__
+#define GTEST_OS_OPENBSD 1
 #elif defined __MVS__
 #define GTEST_OS_ZOS 1
 #elif defined(__sun) && defined(__SVR4)
@@ -234,7 +236,7 @@
 #endif  // __CYGWIN__
 
 #if GTEST_OS_CYGWIN || GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_SYMBIAN || \
-    GTEST_OS_SOLARIS || GTEST_OS_AIX || GTEST_OS_FREEBSD || GTEST_OS_HURD
+    GTEST_OS_SOLARIS || GTEST_OS_AIX || GTEST_OS_FREEBSD || GTEST_OS_OPENBSD || GTEST_OS_HURD
 
 // On some platforms, <regex.h> needs someone to define size_t, and
 // won't compile otherwise.  We can #include it here as we already