[svn:parrot] r38187 - trunk/src

Infinoid at svn.parrot.org Infinoid at svn.parrot.org
Sat Apr 18 01:15:58 UTC 2009


Author: Infinoid
Date: Sat Apr 18 01:15:57 2009
New Revision: 38187
URL: https://trac.parrot.org/parrot/changeset/38187

Log:
TT #512 followup: OpenBSD may have the same constant-enum issue NetBSD3 had.  Enable that code for OpenBSD too.

Modified:
   trunk/src/exec_save.c

Modified: trunk/src/exec_save.c
==============================================================================
--- trunk/src/exec_save.c	Sat Apr 18 00:12:30 2009	(r38186)
+++ trunk/src/exec_save.c	Sat Apr 18 01:15:57 2009	(r38187)
@@ -41,7 +41,7 @@
  * but instead has them as enums, so add some workarounds for it.
  */
 #if !defined(R_PPC_ADDR16_HI) && !defined(R_PPC_ADDR16_LO) && \
-	defined(__NetBSD__)
+	(defined(__NetBSD__) || defined(__OpenBSD__))
 # define	R_PPC_ADDR16_HI RELOC_16_HI
 # define	R_PPC_ADDR16_LO RELOC_16_LO
 #endif


More information about the parrot-commits mailing list