about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/libc-lock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/libc-lock.h b/sysdeps/mach/hurd/libc-lock.h
index f6cbe50fc2..dfcbee195c 100644
--- a/sysdeps/mach/hurd/libc-lock.h
+++ b/sysdeps/mach/hurd/libc-lock.h
@@ -23,6 +23,9 @@
 #include <cthreads.h>
 #include <hurd/threadvar.h>
 
+/* The locking here is very inexpensive, even for inlining.  */
+#define _IO_lock_inexpensive  1
+
 typedef struct mutex __libc_lock_t;
 typedef struct
 {