ports/lang/yap-devel/files/patch-H__amiops.h
Danilo Egea Gondolfo 9cb1e10d3a - Add new port lang/yap-devel
Yap-6.3.3 is the development version of lang/yap (6.2.2).

YAP is a high-performance Prolog compiler developed at
LIACC/Universidade do Porto and at COPPE Sistemas/UFRJ. Its Prolog
engine is based in the WAM (Warren Abstract Machine), with several
optimizations for better performance. YAP follows the Edinburgh
tradition, and is largely compatible with the ISO-Prolog standard and
with Quintus and SICStus Prolog.

PR:		ports/181334
Submitted by:	Danilo Egea Gondolfo <danilogondolfo@gmail.com>
Approved by:	wg/culot (mentors)
2013-10-10 14:08:01 +00:00

21 lines
491 B
C

--- ./H/amiops.h.orig 2012-06-30 16:53:59.000000000 -0300
+++ ./H/amiops.h 2013-08-13 18:37:02.000000000 -0300
@@ -102,10 +102,18 @@
#if SIZEOF_DOUBLE == 2*SIZEOF_LONG_INT
+#ifdef __amd64__
INLINE_ONLY EXTERN inline void
+#else
+EXTERN inline void
+#endif
AlignGlobalForDouble( USES_REGS1 );
+#ifdef __amd64__
INLINE_ONLY EXTERN inline void
+#else
+EXTERN inline void
+#endif
AlignGlobalForDouble( USES_REGS1 )
{
/* Force Alignment for floats. Note that garbage collector may