]> henry.ined.fr Git - .git/commitdiff
Summary: Still testing ilc32 on OSX
authorN. Brouard <brouard@ined.fr>
Sat, 3 Jan 2015 18:40:56 +0000 (18:40 +0000)
committerN. Brouard <brouard@ined.fr>
Sat, 3 Jan 2015 18:40:56 +0000 (18:40 +0000)
src/imach.c

index a03c43a32a4507d82a20b3ca713e070359ec55e6..2919906c16c95b32d62df641a4ac09aaaa491877 100644 (file)
@@ -1,6 +1,9 @@
 /* $Id$
   $State$
   $Log$
+  Revision 1.176  2015/01/03 16:45:04  brouard
+  *** empty log message ***
+
   Revision 1.175  2015/01/03 16:33:42  brouard
   *** empty log message ***
 
@@ -5501,12 +5504,16 @@ BOOL IsWow64()
        return bIsWow64 != FALSE;
 }
 #endif
+
 void syscompilerinfo()
  {
    /* #include "syscompilerinfo.h"*/
-#if defined(__GNUC__) 
+
+#if defined __INTEL_COMPILER
+   struct utsname sysInfo;
+#elif defined(__GNUC__) 
 #include <gnu/libc-version.h>  /* Only on gnu */
-struct utsname sysInfo;
+   struct utsname sysInfo;
 #endif
 
 #include <stdint.h>
@@ -5593,9 +5600,10 @@ struct utsname sysInfo;
    }
    else
       perror("uname() error");
+#ifndef __INTEL_COMPILER
    printf("GNU libc version: %s\n", gnu_get_libc_version()); 
    fprintf(ficlog,"GNU libc version: %s\n", gnu_get_libc_version()); 
-
+#endif
 #endif
 
    //   void main()