|
- 3.0.1 core module.
|
Go to the documentation of this file. 35 #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_ARCH_H_ 36 #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_ARCH_H_ 40 # define GTEST_OS_CYGWIN 1 41 # elif defined(__MINGW__) || defined(__MINGW32__) || defined(__MINGW64__) 42 # define GTEST_OS_WINDOWS_MINGW 1 43 # define GTEST_OS_WINDOWS 1 45 # define GTEST_OS_WINDOWS 1 47 # define GTEST_OS_WINDOWS_MOBILE 1 48 # elif defined(WINAPI_FAMILY) 49 # include <winapifamily.h> 50 # if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) 51 # define GTEST_OS_WINDOWS_DESKTOP 1 52 # elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PHONE_APP) 53 # define GTEST_OS_WINDOWS_PHONE 1 54 # elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) 55 # define GTEST_OS_WINDOWS_RT 1 56 # elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_TV_TITLE) 57 # define GTEST_OS_WINDOWS_PHONE 1 58 # define GTEST_OS_WINDOWS_TV_TITLE 1 62 # define GTEST_OS_WINDOWS_DESKTOP 1 65 # define GTEST_OS_WINDOWS_DESKTOP 1 68 # define GTEST_OS_OS2 1 69 #elif defined __APPLE__ 70 # define GTEST_OS_MAC 1 72 # define GTEST_OS_IOS 1 74 #elif defined __DragonFly__ 75 # define GTEST_OS_DRAGONFLY 1 76 #elif defined __FreeBSD__ 77 # define GTEST_OS_FREEBSD 1 78 #elif defined __Fuchsia__ 79 # define GTEST_OS_FUCHSIA 1 80 #elif defined(__GLIBC__) && defined(__FreeBSD_kernel__) 81 # define GTEST_OS_GNU_KFREEBSD 1 82 #elif defined __linux__ 83 # define GTEST_OS_LINUX 1 84 # if defined __ANDROID__ 85 # define GTEST_OS_LINUX_ANDROID 1 88 # define GTEST_OS_ZOS 1 89 #elif defined(__sun) && defined(__SVR4) 90 # define GTEST_OS_SOLARIS 1 92 # define GTEST_OS_AIX 1 94 # define GTEST_OS_HPUX 1 95 #elif defined __native_client__ 96 # define GTEST_OS_NACL 1 97 #elif defined __NetBSD__ 98 # define GTEST_OS_NETBSD 1 99 #elif defined __OpenBSD__ 100 # define GTEST_OS_OPENBSD 1 101 #elif defined __QNX__ 102 # define GTEST_OS_QNX 1 103 #elif defined(__HAIKU__) 104 #define GTEST_OS_HAIKU 1 107 #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_ARCH_H_