From: nishi Date: Sat, 22 Jun 2024 00:11:56 +0000 (+0000) Subject: add mingw version info X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a89d38346af883d4e8593c28f2957fc9abc5fc4a;p=dataworks.git add mingw version info git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@416 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- diff --git a/Library/dataworks.c b/Library/dataworks.c index 42a6b71..6258ae0 100644 --- a/Library/dataworks.c +++ b/Library/dataworks.c @@ -108,7 +108,13 @@ char* dataworks_get_compiler(void) { #elif defined(__VBCC__) sprintf(ver, "VBCC"); #elif defined(__GNUC__) - sprintf(ver, "GCC %s", __VERSION__); + sprintf(ver, "%sGCC %s", +#if defined(__MINGW32__) + "MinGW32-", +#else + "", +#endif + __VERSION__); #else sprintf(ver, "Unsupported compiler"); #endif