Lines 128-133
Link Here
|
128 |
// GTEST_OS_IOS - iOS |
128 |
// GTEST_OS_IOS - iOS |
129 |
// GTEST_OS_IOS_SIMULATOR - iOS simulator |
129 |
// GTEST_OS_IOS_SIMULATOR - iOS simulator |
130 |
// GTEST_OS_NACL - Google Native Client (NaCl) |
130 |
// GTEST_OS_NACL - Google Native Client (NaCl) |
|
|
131 |
// GTEST_OS_GNU_KFREEBSD - GNU/kFreeBSD |
132 |
// GTEST_OS_DRAGONFLY - DragonFly |
133 |
// GTEST_OS_FREEBSD - FreeBSD |
134 |
// GTEST_OS_NETBSD - NetBSD |
131 |
// GTEST_OS_OPENBSD - OpenBSD |
135 |
// GTEST_OS_OPENBSD - OpenBSD |
132 |
// GTEST_OS_QNX - QNX |
136 |
// GTEST_OS_QNX - QNX |
133 |
// GTEST_OS_SOLARIS - Sun Solaris |
137 |
// GTEST_OS_SOLARIS - Sun Solaris |
Lines 341-346
Link Here
|
341 |
# define GTEST_OS_HPUX 1 |
345 |
# define GTEST_OS_HPUX 1 |
342 |
#elif defined __native_client__ |
346 |
#elif defined __native_client__ |
343 |
# define GTEST_OS_NACL 1 |
347 |
# define GTEST_OS_NACL 1 |
|
|
348 |
#elif defined(__GLIBC__) && defined(__FreeBSD_kernel__) |
349 |
# define GTEST_OS_GNU_KFREEBSD 1 |
350 |
#elif defined __DragonFly__ |
351 |
# define GTEST_OS_DRAGONFLY 1 |
352 |
#elif defined __FreeBSD__ |
353 |
# define GTEST_OS_FREEBSD 1 |
354 |
#elif defined __NetBSD__ |
355 |
# define GTEST_OS_NETBSD 1 |
344 |
#elif defined __OpenBSD__ |
356 |
#elif defined __OpenBSD__ |
345 |
# define GTEST_OS_OPENBSD 1 |
357 |
# define GTEST_OS_OPENBSD 1 |
346 |
#elif defined __QNX__ |
358 |
#elif defined __QNX__ |
Lines 611-616
struct _RTL_CRITICAL_SECTION;
Link Here
|
611 |
// To disable threading support in Google Test, add -DGTEST_HAS_PTHREAD=0 |
623 |
// To disable threading support in Google Test, add -DGTEST_HAS_PTHREAD=0 |
612 |
// to your compiler flags. |
624 |
// to your compiler flags. |
613 |
# define GTEST_HAS_PTHREAD (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX \ |
625 |
# define GTEST_HAS_PTHREAD (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX \ |
|
|
626 |
|| GTEST_OS_GNU_KFREEBSD || GTEST_OS_DRAGONFLY || GTEST_OS_FREEBSD \ |
627 |
|| GTEST_OS_NETBSD || GTEST_OS_OPENBSD \ |
614 |
|| GTEST_OS_QNX) |
628 |
|| GTEST_OS_QNX) |
615 |
#endif // GTEST_HAS_PTHREAD |
629 |
#endif // GTEST_HAS_PTHREAD |
616 |
|
630 |
|
Lines 791-797
using ::std::tuple_size;
Link Here
|
791 |
(GTEST_OS_MAC && !GTEST_OS_IOS) || GTEST_OS_IOS_SIMULATOR || \ |
805 |
(GTEST_OS_MAC && !GTEST_OS_IOS) || GTEST_OS_IOS_SIMULATOR || \ |
792 |
(GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) || \ |
806 |
(GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) || \ |
793 |
GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX || GTEST_OS_HPUX || \ |
807 |
GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX || GTEST_OS_HPUX || \ |
794 |
GTEST_OS_OPENBSD || GTEST_OS_QNX) |
808 |
GTEST_OS_GNU_KFREEBSD || GTEST_OS_DRAGONFLY || GTEST_OS_FREEBSD || \ |
|
|
809 |
GTEST_OS_NETBSD || GTEST_OS_OPENBSD || GTEST_OS_QNX) |
795 |
# define GTEST_HAS_DEATH_TEST 1 |
810 |
# define GTEST_HAS_DEATH_TEST 1 |
796 |
# include <vector> // NOLINT |
811 |
# include <vector> // NOLINT |
797 |
#endif |
812 |
#endif |
Lines 824-830
using ::std::tuple_size;
Link Here
|
824 |
(GTEST_OS_WINDOWS || GTEST_OS_CYGWIN || GTEST_OS_SYMBIAN || GTEST_OS_AIX) |
839 |
(GTEST_OS_WINDOWS || GTEST_OS_CYGWIN || GTEST_OS_SYMBIAN || GTEST_OS_AIX) |
825 |
|
840 |
|
826 |
// Determines whether test results can be streamed to a socket. |
841 |
// Determines whether test results can be streamed to a socket. |
827 |
#if GTEST_OS_LINUX |
842 |
#if GTEST_OS_LINUX || GTEST_OS_GNU_KFREEBSD || GTEST_OS_DRAGONFLY || \ |
|
|
843 |
GTEST_OS_FREEBSD || GTEST_OS_NETBSD || GTEST_OS_OPENBSD |
828 |
# define GTEST_CAN_STREAM_RESULTS_ 1 |
844 |
# define GTEST_CAN_STREAM_RESULTS_ 1 |
829 |
#endif |
845 |
#endif |
830 |
|
846 |
|