blob: 2d5a2fd8b1d584af8a4c9982039bf4710aac3706 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$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
|