From: N. Brouard Date: Sat, 3 Jan 2015 12:06:26 +0000 (+0000) Subject: Summary: trying to detect cross-compilation X-Git-Tag: imach-099s7~390 X-Git-Url: https://henry.ined.fr/git/?a=commitdiff_plain;h=091b743c1eb8ef3b3a0deac1587436c0759cc81e;p=.git Summary: trying to detect cross-compilation --- diff --git a/src/imach.c b/src/imach.c index 6f4276c..a51d0b1 100644 --- a/src/imach.c +++ b/src/imach.c @@ -1,6 +1,9 @@ /* $Id$ $State$ $Log$ + Revision 1.172 2014/12/27 12:07:47 brouard + Summary: Back from Visual Studio and Intel, options for compiling for Windows XP + Revision 1.171 2014/12/23 13:26:59 brouard Summary: Back from Visual C @@ -5524,12 +5527,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__ */