diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-28 23:27:22 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-07 16:46:02 +0000 |
commit | 89b1630e352cce97dc1bfd62130da577dbdc00d3 (patch) | |
tree | c583809ea574238b6fb844c55dc91ad34f6df472 /tests/gtest/include | |
parent | tests: handle any cmake detected python interpreter (diff) | |
download | monero-89b1630e352cce97dc1bfd62130da577dbdc00d3.tar.xz |
gtest: build fix for NetBSD
Diffstat (limited to 'tests/gtest/include')
-rw-r--r-- | tests/gtest/include/gtest/internal/gtest-port-arch.h | 2 | ||||
-rw-r--r-- | tests/gtest/include/gtest/internal/gtest-port.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/gtest/include/gtest/internal/gtest-port-arch.h b/tests/gtest/include/gtest/internal/gtest-port-arch.h index 74ab94905..83022c82c 100644 --- a/tests/gtest/include/gtest/internal/gtest-port-arch.h +++ b/tests/gtest/include/gtest/internal/gtest-port-arch.h @@ -88,6 +88,8 @@ # define GTEST_OS_OPENBSD 1 #elif defined __QNX__ # define GTEST_OS_QNX 1 +#elif defined(__NetBSD__) +# define GTEST_OS_NETBSD 1 #endif // __CYGWIN__ #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_ARCH_H_ diff --git a/tests/gtest/include/gtest/internal/gtest-port.h b/tests/gtest/include/gtest/internal/gtest-port.h index cb0639b4b..2896dfe64 100644 --- a/tests/gtest/include/gtest/internal/gtest-port.h +++ b/tests/gtest/include/gtest/internal/gtest-port.h @@ -790,7 +790,8 @@ using ::std::tuple_size; (GTEST_OS_MAC && !GTEST_OS_IOS) || \ (GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) || \ GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX || GTEST_OS_HPUX || \ - GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD) + GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD || \ + GTEST_OS_NETBSD) # define GTEST_HAS_DEATH_TEST 1 #endif |