summaryrefslogtreecommitdiff
path: root/sysdeps/mach/libc-lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/libc-lock.h')
-rw-r--r--sysdeps/mach/libc-lock.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/mach/libc-lock.h b/sysdeps/mach/libc-lock.h
index 4954cc2952..23f6ed4e94 100644
--- a/sysdeps/mach/libc-lock.h
+++ b/sysdeps/mach/libc-lock.h
@@ -70,4 +70,10 @@ typedef struct __libc_lock_opaque__ __libc_lock_t;
}
+#ifdef _LIBC
+/* We need portable names for some functions. E.g., when they are
+ used as argument to __libc_cleanup_region_start. */
+#define __libc_mutex_unlock __mutex_unlock
+#endif
+
#endif /* libc-lock.h */