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

22 lines
569 B
Plaintext
Raw Normal View History

$OpenBSD: patch-scmfig_h,v 1.4 2009/01/21 18:30:16 kili Exp $
--- scmfig.h.orig Thu Jan 31 02:50:56 2008
+++ scmfig.h Sat Nov 29 15:26:11 2008
@@ -118,7 +118,7 @@ rgx.c init_rgx(); regcomp and regexec. */
2004-03-03 03:55:15 -05:00
/* Define CDR_DOUBLES if (sizeof(double)==sizeof(long)), i.e.
a `single' is really a double. */
#ifdef FLOATS
-# ifdef __alpha
+# if defined(__LP64__)
2004-03-03 03:55:15 -05:00
# define CDR_DOUBLES
# endif
@@ -253,7 +253,7 @@ rgx.c init_rgx(); regcomp and regexec. */
2004-03-03 03:55:15 -05:00
# endif
# endif
#endif
-#ifdef __alpha
+#if defined(__LP64__)
2004-03-03 03:55:15 -05:00
# define SHORT_INT
#endif
#ifdef __ia64__