GetOS problems fixed,Works successfully!!!
This commit is contained in:
parent
ccc3eb7a4b
commit
e68b0d42b5
12
src/core.c
12
src/core.c
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user