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";
|
return "iOS";
|
||||||
#elif __sun
|
#elif __sun
|
||||||
return "Solaris";
|
return "Solaris";
|
||||||
|
#elif __FreeBSD__
|
||||||
|
return "FreeBSD";
|
||||||
|
#elif __OpenBSD__
|
||||||
|
return "OpenBSD";
|
||||||
|
#elif __NetBSD__
|
||||||
|
return "NetBSD";
|
||||||
|
#elif __DragonFly__
|
||||||
|
return "DragonFlyBSD";
|
||||||
#elif BSD
|
#elif BSD
|
||||||
return "BSD";
|
return "BSD";
|
||||||
|
#elif __hpux
|
||||||
|
return "HPUX";
|
||||||
#else
|
#else
|
||||||
return NULL:
|
return "";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user