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