--- imach/src/imach.c 2014/12/27 12:07:47 1.172 +++ imach/src/imach.c 2015/01/03 12:06:26 1.173 @@ -1,6 +1,9 @@ -/* $Id: imach.c,v 1.172 2014/12/27 12:07:47 brouard Exp $ +/* $Id: imach.c,v 1.173 2015/01/03 12:06:26 brouard Exp $ $State: Exp $ $Log: imach.c,v $ + Revision 1.173 2015/01/03 12:06:26 brouard + Summary: trying to detect cross-compilation + Revision 1.172 2014/12/27 12:07:47 brouard Summary: Back from Visual Studio and Intel, options for compiling for Windows XP @@ -614,11 +617,11 @@ typedef struct { #define ODIRSEPARATOR '\\' #endif -/* $Id: imach.c,v 1.172 2014/12/27 12:07:47 brouard Exp $ */ +/* $Id: imach.c,v 1.173 2015/01/03 12:06:26 brouard Exp $ */ /* $State: Exp $ */ char version[]="Imach version 0.98p, December 2014,INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121), Intel Software 2015"; -char fullversion[]="$Revision: 1.172 $ $Date: 2014/12/27 12:07:47 $"; +char fullversion[]="$Revision: 1.173 $ $Date: 2015/01/03 12:06:26 $"; char strstart[80]; char optionfilext[10], optionfilefiname[FILENAMELENGTH]; int erreur=0, nberr=0, nbwarn=0; /* Error number, number of errors number of warnings */ @@ -5527,12 +5530,16 @@ void syscompilerinfo() // http://stackoverflow.com/questions/4605842/how-to-identify-platform-compiler-from-preprocessor-macros #ifdef _WIN32 // note the underscore: without it, it's not msdn official! // Windows (x64 and x86) + printf("Windows (x64 and x86). ");fprintf(ficlog,"Windows (x64 and x86). "); #elif __unix__ // all unices, not all compilers // Unix + printf("Unix. ");fprintf(ficlog,"Unix. "); #elif __linux__ // linux + printf("linux. ");fprintf(ficlog,"linux. "); #elif __APPLE__ // Mac OS, not sure if this is covered by __posix__ and/or __unix__ though... + printf("Mac OS. ");fprintf(ficlog,"Mac OS. "); #endif /* __MINGW32__ */