summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal/gtest-port-arch.h
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-05-06 02:09:32 (GMT)
committerKamil Rytarowski <n54@gmx.com>2017-05-06 02:18:58 (GMT)
commitfac0dfbe738e4c6973e2137c776560459f142dce (patch)
treeebc2823d1f0f738731acac28f105a1480184e6b0 /googletest/include/gtest/internal/gtest-port-arch.h
parent0ad83afdaa3319dadd9f03299bd62f93e6afe2d3 (diff)
downloadgoogletest-fac0dfbe738e4c6973e2137c776560459f142dce.zip
googletest-fac0dfbe738e4c6973e2137c776560459f142dce.tar.gz
googletest-fac0dfbe738e4c6973e2137c776560459f142dce.tar.bz2
Add NetBSD supportrefs/pull/1081/head
NetBSD is a modern UNIX-like Operating System. Enable GTEST_HAS_PTHREAD and GTEST_HAS_DEATH_TEST on NetBSD.
Diffstat (limited to 'googletest/include/gtest/internal/gtest-port-arch.h')
-rw-r--r--googletest/include/gtest/internal/gtest-port-arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/googletest/include/gtest/internal/gtest-port-arch.h b/googletest/include/gtest/internal/gtest-port-arch.h
index 74ab949..f32fc06 100644
--- a/googletest/include/gtest/internal/gtest-port-arch.h
+++ b/googletest/include/gtest/internal/gtest-port-arch.h
@@ -84,6 +84,8 @@
# define GTEST_OS_HPUX 1
#elif defined __native_client__
# define GTEST_OS_NACL 1
+#elif defined __NetBSD__
+# define GTEST_OS_NETBSD 1
#elif defined __OpenBSD__
# define GTEST_OS_OPENBSD 1
#elif defined __QNX__