]> henry.ined.fr Git - .git/commitdiff
Summary: trying to detect cross-compilation
authorN. Brouard <brouard@ined.fr>
Sat, 3 Jan 2015 12:06:26 +0000 (12:06 +0000)
committerN. Brouard <brouard@ined.fr>
Sat, 3 Jan 2015 12:06:26 +0000 (12:06 +0000)
src/imach.c

index 6f4276cc1e78817e53ebcdc02f1395dd78718bf3..a51d0b1cd395b1a73f3b2683818fb41a3681c4c7 100644 (file)
@@ -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__          */