Fixed problem in GetOS,Now it works!!!

This commit is contained in:
Rabia Alhaffar 2020-06-11 21:43:08 +03:00 committed by GitHub
parent 786263fa8b
commit d39c932066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1176,22 +1176,22 @@ void SetClipboardText(const char *text)
// Get current operating system used
void GetOS()
{
#ifdef _WIN16 || _WIN32 || _WIN64
return "Windows"
#ifdef _WIN32 || _WIN64
return "Windows";
#elif __MACH__ || TARGET_OS_MAC
return "OSX"
return "OSX";
#elif __linux__
return "Linux"
return "Linux";
#elif __unix__
return "Unix"
return "Unix";
#elif __ANDROID__
return "Android"
return "Android";
#elif TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR || TARGET_OS_EMBEDDED
return "iOS"
return "iOS";
#elif __sun
return "Solaris"
return "Solaris";
#elif BSD
return "BSD"
return "BSD";
#endif
}