File indexing completed on 2025-01-30 10:02:50
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef CATCH_PLATFORM_HPP_INCLUDED
0009 #define CATCH_PLATFORM_HPP_INCLUDED
0010
0011
0012
0013 #ifdef __APPLE__
0014 # include <TargetConditionals.h>
0015 # if (defined(TARGET_OS_OSX) && TARGET_OS_OSX == 1) || \
0016 (defined(TARGET_OS_MAC) && TARGET_OS_MAC == 1)
0017 # define CATCH_PLATFORM_MAC
0018 # elif (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE == 1)
0019 # define CATCH_PLATFORM_IPHONE
0020 # endif
0021
0022 #elif defined(linux) || defined(__linux) || defined(__linux__)
0023 # define CATCH_PLATFORM_LINUX
0024
0025 #elif defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER) || defined(__MINGW32__)
0026 # define CATCH_PLATFORM_WINDOWS
0027
0028 # if defined( WINAPI_FAMILY ) && ( WINAPI_FAMILY == WINAPI_FAMILY_APP )
0029 # define CATCH_PLATFORM_WINDOWS_UWP
0030 # endif
0031
0032 #elif defined(__ORBIS__) || defined(__PROSPERO__)
0033 # define CATCH_PLATFORM_PLAYSTATION
0034
0035 #endif
0036
0037 #endif