summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/sysdep.h
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-17 16:54:59 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-17 16:55:05 -0800
commit397c0e487350873287499529be351c750c422fc3 (patch)
treec5dd80530f3a6e40f62642bd6cf200236439afa6 /libc/sysdeps/linux/sparc/sysdep.h
parent44f3864ffcf205930a0cf7e553ab91f2cb01d02d (diff)
fix nptl build for sparc
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/sparc/sysdep.h')
-rw-r--r--libc/sysdeps/linux/sparc/sysdep.h6
1 files changed, 5 insertions, 1 deletions
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