summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/f/runtime/f2c.h.in
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-04-09 13:44:52 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-04-09 13:44:52 +0000
commit454abcd55d12d4ef15ec29c89b2ad4d47f3c82d1 (patch)
tree03ae5cb442348bb46932a1a62039a44962996f47 /gnu/usr.bin/gcc/f/runtime/f2c.h.in
parentc1c4ca433ba86feadc773a80691f0e693d52ecd8 (diff)
Revert to older (working) version of gcc, plus recent changes.
Diffstat (limited to 'gnu/usr.bin/gcc/f/runtime/f2c.h.in')
-rw-r--r--gnu/usr.bin/gcc/f/runtime/f2c.h.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/usr.bin/gcc/f/runtime/f2c.h.in b/gnu/usr.bin/gcc/f/runtime/f2c.h.in
index 90374678100..9d1d5905bf7 100644
--- a/gnu/usr.bin/gcc/f/runtime/f2c.h.in
+++ b/gnu/usr.bin/gcc/f/runtime/f2c.h.in
@@ -21,10 +21,14 @@ typedef @F2C_INTEGER@ /* long int */ logical;
typedef short int shortlogical;
typedef char logical1;
typedef char integer1;
-typedef @F2C_LONGINT@ /* long long */ longint; /* system-dependent */
-typedef unsigned @F2C_LONGINT@ /* long long */ ulongint; /* system-dependent */
+/* integer*8 support from f2c not currently supported: */
+#if 0
+typedef @F2C_LONGINT@ /* long long */ longint; /* system-dependent */
+typedef unsigned @F2C_LONGINT@ ulongint; /* system-dependent */
#define qbit_clear(a,b) ((a) & ~((ulongint)1 << (b)))
#define qbit_set(a,b) ((a) | ((ulongint)1 << (b)))
+#endif
+typedef long long int longint;
#define TRUE_ (1)
#define FALSE_ (0)
@@ -37,15 +41,15 @@ typedef unsigned @F2C_LONGINT@ /* long long */ ulongint; /* system-dependent */
/* I/O stuff */
#ifdef f2c_i2
-#error "f2c_i2 will not work with g77!!!!"
+ #error f2c_i2 will not work with g77!!!!
/* for -i2 */
typedef short flag;
typedef short ftnlen;
typedef short ftnint;
#else
-typedef @F2C_INTEGER@ /* long int */ flag;
-typedef @F2C_INTEGER@ /* long int */ ftnlen;
-typedef @F2C_INTEGER@ /* long int */ ftnint;
+typedef @F2C_INTEGER@ /* int or long int */ flag;
+typedef @F2C_INTEGER@ /* int or long int */ ftnlen;
+typedef @F2C_INTEGER@ /* int or long int */ ftnint;
#endif
/*external read, write*/