Skip to content

Commit

Permalink
gtest: build fix for NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
moneromooo-monero committed Mar 7, 2019
1 parent fa43b54 commit 89b1630
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/gtest/include/gtest/internal/gtest-port-arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_
3 changes: 2 additions & 1 deletion tests/gtest/include/gtest/internal/gtest-port.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 89b1630

Please sign in to comment.