blob: 94d9780ea5d05730587895c571a37169527ec69b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-af,v 1.1.1.1 2004/01/26 13:03:38 jmmv Exp $
--- src/xine-utils/ppcasm_string.S.orig 2003-10-24 09:52:09.000000000 +1000
+++ src/xine-utils/ppcasm_string.S 2003-10-24 09:52:39.000000000 +1000
@@ -18,6 +18,7 @@
#warning Be forewarned - using PowerPC assembly
+#ifdef __linux__
#define __KERNEL__
#define __ASSEMBLY__
@@ -26,6 +27,13 @@
#include <asm/processor.h>
#include <asm/cache.h>
#include <asm/errno.h>
+#endif
+
+#ifdef __NetBSD__
+#define _STANDALONE
+
+#include <machine/asm.h>
+#endif
#define COPY_16_BYTES \
lwz r7,4(r4); \
|