diff --git a/src/xpdev/genwrap.h b/src/xpdev/genwrap.h index b1e614be9fc7774e4b6ae201ff62acee3c297ebc..40ba16e2e2a8816c478d1fec0bc8d8a8fb2049bf 100644 --- a/src/xpdev/genwrap.h +++ b/src/xpdev/genwrap.h @@ -163,6 +163,15 @@ extern "C" { #define PLATFORM_DESC "QNX" #elif defined(__unix__) #define PLATFORM_DESC "Unix" +#elif defined(__APPLE__) + #include <TargetConditionals.h> + #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE + #define PLATFORM_DESC "iOS" + #elif TARGET_OS_MAC + #define PLATFORM_DESC "macOS" + #else + #define PLATFORM_DESC "Apple" + #endif #elif defined(__HAIKU__) #define PLATFORM_DESC "Haiku" #else