mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
22 lines
555 B
Plaintext
22 lines
555 B
Plaintext
$NetBSD: patch-ac,v 1.2 2003/05/02 17:48:29 jtb Exp $
|
|
|
|
--- runtime/mercury_bootstrap.h.orig
|
|
+++ runtime/mercury_bootstrap.h
|
|
@@ -139,6 +139,7 @@
|
|
#define do_not_reached MR_do_not_reached
|
|
#define exception_handler_do_fail MR_exception_handler_do_fail
|
|
|
|
+#if !(defined(__NetBSD__) && defined(__powerpc__))
|
|
#define r1 MR_r1
|
|
#define r2 MR_r2
|
|
#define r3 MR_r3
|
|
@@ -175,6 +176,8 @@
|
|
#define r(N) MR_r(N)
|
|
|
|
#define NUM_REAL_REGS MR_NUM_REAL_REGS
|
|
+
|
|
+#endif
|
|
|
|
#define progname MR_progname
|
|
#define program_entry_point MR_program_entry_point
|