openbsd-ports/lang/gprolog/patches/patch-EnginePl_obj_chain_h
jasper 49b2c85ee6 - update gprolog to 1.3.1
- unbreak it
- enable it on amd64

from daniel dickman and nuno morgadinho (MAINTAINER)

with a tweak by me to honor cflags.
2009-12-27 19:30:21 +00:00

12 lines
415 B
Plaintext

$OpenBSD: patch-EnginePl_obj_chain_h,v 1.1 2009/12/27 19:30:21 jasper Exp $
--- EnginePl/obj_chain.h.orig Wed May 9 03:20:35 2007
+++ EnginePl/obj_chain.h Wed May 9 03:21:54 2007
@@ -84,6 +84,6 @@ static long obj_chain_start = (long) OBJ_CTOR;
-#if defined(_MSC_VER) || defined(M_ix86_darwin)
+#if defined(_MSC_VER) || defined(M_ix86_darwin) || defined(__OpenBSD__)
#define OBJ_CHAIN_REVERSE_ORDER
#endif