os_gettype [function]
os_gettype()
returns the name of the closest known match for the operating system type, defined at library compile time
- the function can detect and return the following OSes at the moment (with the preprocessor define in braces):
- "Windows" (_WIN32/__WIN32__/__WINDOWS__)
- "Mac OS X" (__APPLE__)
- "Android" (__ANDROID__)
- "Linux" (__linux/__linux__)
- "Unix" (__unix/__unix__)
- "POSIX" (__posix)
- "Unknown" (..any other)