mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01:00
- updated to display MINGW client platform
This commit is contained in:
parent
5fb2a906f1
commit
20562c4dbb
@ -37,12 +37,20 @@ string getPlatformNameString() {
|
||||
string platform = "";
|
||||
#if defined(WIN32)
|
||||
platform = "Windows";
|
||||
#if defined(__MINGW32__)
|
||||
platform = "W-MINGW";
|
||||
#endif
|
||||
|
||||
#elif defined(__FreeBSD__)
|
||||
platform = "FreeBSD";
|
||||
#elif defined(__APPLE__)
|
||||
platform = "MacOSX";
|
||||
#elif defined(__GNUC__)
|
||||
platform = "GNU";
|
||||
#if defined(__MINGW32__)
|
||||
platform = "L-MINGW";
|
||||
#endif
|
||||
|
||||
#else
|
||||
platform = "???";
|
||||
#endif
|
||||
@ -74,7 +82,13 @@ string getCompilerNameString() {
|
||||
+ __GNUC_MINOR__ * 100)
|
||||
# endif
|
||||
#endif
|
||||
version = "GNUC: " + intToStr(__GNUC_VERSION__);
|
||||
version = "GNUC";
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
version += "-MINGW";
|
||||
#endif
|
||||
|
||||
version += ": " + intToStr(__GNUC_VERSION__);
|
||||
|
||||
#else
|
||||
version = "???";
|
||||
|
Loading…
x
Reference in New Issue
Block a user