GetOS problems fixed,Works successfully!!!

This commit is contained in:
Rabia Alhaffar 2020-06-11 22:53:57 +03:00 committed by GitHub
parent ccc3eb7a4b
commit e68b0d42b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1190,10 +1190,20 @@ const char *GetOS(void)
return "iOS";
#elif __sun
return "Solaris";
#elif __FreeBSD__
return "FreeBSD";
#elif __OpenBSD__
return "OpenBSD";
#elif __NetBSD__
return "NetBSD";
#elif __DragonFly__
return "DragonFlyBSD";
#elif BSD
return "BSD";
#elif __hpux
return "HPUX";
#else
return NULL:
return "";
#endif
}