Path: blob/main/lang/cfortran/files/patch-cfortran.h
16461 views
--- cfortran.h.orig 2008-12-05 13:51:41.000000000 +01001+++ cfortran.h 2008-12-05 13:55:07.000000000 +01002@@ -129,7 +129,8 @@3/* Split #if into 2 because some HP-UX can't handle long #if */4#if !(defined(NAGf90Fortran)||defined(f2cFortran)||defined(hpuxFortran)||defined(apolloFortran)||defined(sunFortran)||defined(IBMR2Fortran)||defined(CRAYFortran))5#if !(defined(mipsFortran)||defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran)||defined(PowerStationFortran)||defined(AbsoftUNIXFortran)||defined(AbsoftProFortran)||defined(SXFortran))6-/* If your compiler barfs on ' #error', replace # with the trigraph for # */7+#define f2cFortran8+/* If your compiler barfs on ' #error', replace # with the trigraph for #9#error "cfortran.h: Can't find your environment among:\10- MIPS cc and f77 2.0. (e.g. Silicon Graphics, DECstations, ...) \11- IBM AIX XL C and FORTRAN Compiler/6000 Version 01.01.0000.0000 \12@@ -152,7 +153,7 @@13- Absoft UNIX F77: Use #define AbsoftUNIXFortran or cc -DAbsoftUNIXFortran \14- Absoft Pro Fortran: Use #define AbsoftProFortran \15- Portland Group Fortran: Use #define pgiFortran"16-/* Compiler must throw us out at this point! */17+ Compiler must throw us out at this point! */18#endif19#endif20212223