summary refs log tree commit diff
path: root/sysdeps/gnu
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-08 18:46:00 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-08 18:46:00 +0100
commit28b067571e98d3047da7020014502ff2391703be (patch)
tree463331703373a4c3f3b9e544122d74eb5bc31f7a /sysdeps/gnu
parentff782688919b51476a3021400e229fef075a0237 (diff)
downloadglibc-28b067571e98d3047da7020014502ff2391703be.tar.gz
glibc-28b067571e98d3047da7020014502ff2391703be.tar.xz
glibc-28b067571e98d3047da7020014502ff2391703be.zip
hurd: fix unwind-resume.c build
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r--sysdeps/gnu/unwind-resume.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/gnu/unwind-resume.c b/sysdeps/gnu/unwind-resume.c
index d446804ddf..534f8a9c92 100644
--- a/sysdeps/gnu/unwind-resume.c
+++ b/sysdeps/gnu/unwind-resume.c
@@ -43,9 +43,13 @@ __libgcc_s_init (void)
     __libc_fatal (LIBGCC_S_SO
                   " must be installed for pthread_cancel to work\n");
 
+#ifdef PTR_MANGLE
   PTR_MANGLE (resume);
+#endif
   __libgcc_s_resume = resume;
+#ifdef PTR_MANGLE
   PTR_MANGLE (personality);
+#endif
   libgcc_s_personality = personality;
 }