about summary refs log tree commit diff
path: root/libio/libioP.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/libioP.h')
-rw-r--r--libio/libioP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/libioP.h b/libio/libioP.h
index 54dc35cdb6..3e12876137 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -906,7 +906,9 @@ extern void (*IO_accept_foreign_vtables) (void) attribute_hidden;
 static inline void
 IO_set_accept_foreign_vtables (void (*flag) (void))
 {
+#ifdef PTR_MANGLE
   PTR_MANGLE (flag);
+#endif
   atomic_store_relaxed (&IO_accept_foreign_vtables, flag);
 }