-----Original Message----- From: sisyph...@optusnet.com.au
Sent: Friday, November 10, 2017 8:09 PM
To: mingw-w64-public@lists.sourceforge.net
Subject: Finding runtime version

Hi,

For mingw-w64 runtime version x.y.z, I know that __MINGW64_VERSION_MAJOR will give me the value of x, and __MINGW64_VERSION_MINOR will give me the value of y.
But what's the symbol that will give me the value of z ?

Is there a symbol that will give me all three values as a string "x.y.z" ?

https://sourceforge.net/p/predef/wiki/Compilers/ mentions only __MINGW64_VERSION_MAJOR, __MINGW64_VERSION_MINOR, __MINGW32_MAJOR_VERSION and __MINGW32_MINOR_VERSION.

Cheers,
Rob

Still hoping for some feedback on this.

To rephrase it:
Having determined that __MINGW64_VERSION_MAJOR is "5" and that __MINGW64_VERSION_MINOR is "0", is there some way that the C preprocessor can determine whether the runtime version is 5.0.3 (or not) ?

Cheers,
Rob


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to