File indexing completed on 2024-11-16 09:43:43
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035 #ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_ARCH_H_
0036 #define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_ARCH_H_
0037
0038
0039 #ifdef __CYGWIN__
0040 #define GTEST_OS_CYGWIN 1
0041 #elif defined(__MINGW__) || defined(__MINGW32__) || defined(__MINGW64__)
0042 #define GTEST_OS_WINDOWS_MINGW 1
0043 #define GTEST_OS_WINDOWS 1
0044 #elif defined _WIN32
0045 #define GTEST_OS_WINDOWS 1
0046 #ifdef _WIN32_WCE
0047 #define GTEST_OS_WINDOWS_MOBILE 1
0048 #elif defined(WINAPI_FAMILY)
0049 #include <winapifamily.h>
0050 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
0051 #define GTEST_OS_WINDOWS_DESKTOP 1
0052 #elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PHONE_APP)
0053 #define GTEST_OS_WINDOWS_PHONE 1
0054 #elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
0055 #define GTEST_OS_WINDOWS_RT 1
0056 #elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_TV_TITLE)
0057 #define GTEST_OS_WINDOWS_PHONE 1
0058 #define GTEST_OS_WINDOWS_TV_TITLE 1
0059 #else
0060
0061
0062 #define GTEST_OS_WINDOWS_DESKTOP 1
0063 #endif
0064 #else
0065 #define GTEST_OS_WINDOWS_DESKTOP 1
0066 #endif
0067 #elif defined __OS2__
0068 #define GTEST_OS_OS2 1
0069 #elif defined __APPLE__
0070 #define GTEST_OS_MAC 1
0071 #include <TargetConditionals.h>
0072 #if TARGET_OS_IPHONE
0073 #define GTEST_OS_IOS 1
0074 #endif
0075 #elif defined __DragonFly__
0076 #define GTEST_OS_DRAGONFLY 1
0077 #elif defined __FreeBSD__
0078 #define GTEST_OS_FREEBSD 1
0079 #elif defined __Fuchsia__
0080 #define GTEST_OS_FUCHSIA 1
0081 #elif defined(__GNU__)
0082 #define GTEST_OS_GNU_HURD 1
0083 #elif defined(__GLIBC__) && defined(__FreeBSD_kernel__)
0084 #define GTEST_OS_GNU_KFREEBSD 1
0085 #elif defined __linux__
0086 #define GTEST_OS_LINUX 1
0087 #if defined __ANDROID__
0088 #define GTEST_OS_LINUX_ANDROID 1
0089 #endif
0090 #elif defined __MVS__
0091 #define GTEST_OS_ZOS 1
0092 #elif defined(__sun) && defined(__SVR4)
0093 #define GTEST_OS_SOLARIS 1
0094 #elif defined(_AIX)
0095 #define GTEST_OS_AIX 1
0096 #elif defined(__hpux)
0097 #define GTEST_OS_HPUX 1
0098 #elif defined __native_client__
0099 #define GTEST_OS_NACL 1
0100 #elif defined __NetBSD__
0101 #define GTEST_OS_NETBSD 1
0102 #elif defined __OpenBSD__
0103 #define GTEST_OS_OPENBSD 1
0104 #elif defined __QNX__
0105 #define GTEST_OS_QNX 1
0106 #elif defined(__HAIKU__)
0107 #define GTEST_OS_HAIKU 1
0108 #elif defined ESP8266
0109 #define GTEST_OS_ESP8266 1
0110 #elif defined ESP32
0111 #define GTEST_OS_ESP32 1
0112 #elif defined(__XTENSA__)
0113 #define GTEST_OS_XTENSA 1
0114 #endif
0115
0116 #endif