summaryrefslogtreecommitdiff
path: root/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h
diff options
context:
space:
mode:
authorLandry Breuil <landry@rhaalovely.net>2014-03-07 12:30:57 +0100
committerLandry Breuil <landry@rhaalovely.net>2014-03-07 12:30:57 +0100
commit14842b32b65c6ff3f93427d5762041acf17c77f4 (patch)
treeead979553fcc09bd0c3052188fa0e0c3f313fa03 /patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h
Initial import of webkit 2.2.4 port
Diffstat (limited to 'patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h')
-rw-r--r--patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h b/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h
new file mode 100644
index 0000000..0111086
--- /dev/null
+++ b/patches/patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h
@@ -0,0 +1,21 @@
+$OpenBSD: patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port_h,v 1.1 2013/10/06 14:03:43 landry Exp $
+--- 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