Hello list. In a 32-bit program if mine (while printing the version info) I have stuff like:
extern const char *os_name (const char *vendor); #if defined(__MINGW64_VERSION_MAJOR) #define VENDOR os_name ("MinGW-w64") /* a new-school MinGW */ #elif defined(__MINGW32__) #define VENDOR os_name ("MinGW") /* old-school mingw.org */ #else #define VENDOR os_name ("MSVC") /* Some MS Visual version */ #else #define VENDOR os_name ("??") #endif printf ("... %s\n", VENDOR); ----- So how can I differentiate on your MinGW-w64 and TDM-gcc from http://tdm-gcc.tdragon.net AFAICS, both of them defines '__MINGW64_VERSION_MAJOR'. What other 'define' can I use? PS. for TDM-gcc this is defined in: f:/MingW32/TDM-gcc/x86_64-w64-mingw32/include/_mingw_mac.h -- --gv ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public