From 397c0e487350873287499529be351c750c422fc3 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Wed, 17 Feb 2010 16:54:59 -0800 Subject: fix nptl build for sparc Signed-off-by: Austin Foxley --- libc/sysdeps/linux/sparc/sysdep.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/sparc/sysdep.h b/libc/sysdeps/linux/sparc/sysdep.h index 230efe941..cf3e3afd1 100644 --- a/libc/sysdeps/linux/sparc/sysdep.h +++ b/libc/sysdeps/linux/sparc/sysdep.h @@ -60,6 +60,10 @@ ENTRY(name); \ END(name) -#endif +#endif /* __ASSEMBLER__ */ + +/* Pointer mangling is not yet supported for SPARC. */ +#define PTR_MANGLE(var) (void) (var) +#define PTR_DEMANGLE(var) (void) (var) #endif -- cgit v1.2.3