Skip to content
Snippets Groups Projects
Commit 57bdb729 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add a few more PLATFORM_DESC values

parent 97fb3f1f
No related branches found
No related tags found
No related merge requests found
Pipeline #6149 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment