diff options
Diffstat (limited to 'lang/f2c/patches/patch-ai')
-rw-r--r-- | lang/f2c/patches/patch-ai | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/f2c/patches/patch-ai b/lang/f2c/patches/patch-ai index a44a3a08650..bdc2cde0963 100644 --- a/lang/f2c/patches/patch-ai +++ b/lang/f2c/patches/patch-ai @@ -1,4 +1,4 @@ -$NetBSD: patch-ai,v 1.2 1999/12/16 00:58:28 dmcmahill Exp $ +$NetBSD: patch-ai,v 1.3 2001/02/24 18:37:46 dmcmahill Exp $ required to make sizeof(integer) == sizeof(real) @@ -11,7 +11,7 @@ sizeof(logical) == sizeof(real) @@ -8,5 +8,9 @@ #define F2C_INCLUDE -+#if defined(__alpha__) ++#if defined(__alpha__) || defined(__sparc64__) +typedef int integer; +#else typedef long int integer; @@ -21,7 +21,7 @@ sizeof(logical) == sizeof(real) @@ -16,5 +20,9 @@ typedef struct { real r, i; } complex; typedef struct { doublereal r, i; } doublecomplex; -+#if defined(__alpha__) ++#if defined(__alpha__) || defined(__sparc64__) +typedef int logical; +#else typedef long int logical; |