openbsd-ports/lang/scm/patches/patch-scmfig_h

22 lines
566 B
Plaintext

$OpenBSD: patch-scmfig_h,v 1.3 2004/09/15 19:12:09 espie Exp $
--- scmfig.h.orig Mon Sep 22 01:42:46 2003
+++ scmfig.h Sun Sep 5 11:41:32 2004
@@ -144,7 +144,7 @@ rgx.c init_rgx(); regcomp and regexec. *
/* Define CDR_DOUBLES if (sizeof(double)==sizeof(long)), i.e.
a `single' is really a double. */
#ifdef FLOATS
-# ifdef __alpha
+# if defined(__LP64__)
# define CDR_DOUBLES
# endif
@@ -278,7 +278,7 @@ rgx.c init_rgx(); regcomp and regexec. *
# endif
# endif
#endif
-#ifdef __alpha
+#if defined(__LP64__)
# define SHORT_INT
#endif
#ifdef __ia64