Ver código fonte

STYLE: Move VisualAge id macro to correct block.

Brad King 18 anos atrás
pai
commit
a83ef917af
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      Modules/CMakeFortranCompilerId.F90

+ 3 - 1
Modules/CMakeFortranCompilerId.F90

@@ -6,12 +6,14 @@ PROGRAM CMakeFortranCompilerId
    PRINT *, 'INFO:compiler[SunPro]'
 #elif defined(__GNUC__)
    PRINT *, 'INFO:compiler[GNU]'
+#elif defined(__IBM__) || defined(__IBMC__)
+   PRINT *, 'INFO:compiler[VisualAge]'
 #elif defined(_COMPILER_VERSION)
    PRINT *, 'INFO:compiler[MIPSpro]'
 !     This compiler is either not known or is too old to define an
 !     identification macro.  Try to identify the platform and guess that
 !     it is the native compiler.
-#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) || defined ( __IBM__ ) || defined ( __IBMC__ )
+#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
    PRINT *, 'INFO:compiler[VisualAge]'
 #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
    PRINT *, 'INFO:compiler[MIPSpro]'