about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/unix')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h3
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h b/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h
index d5f9e3f35c..a3cc2c0866 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ b/linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -122,4 +122,7 @@
 /* We support the Timeouts option.  */
 #define _POSIX_TIMEOUTS	200912L
 
+/* We support spinlocks.  */
+#define _POSIX_SPIN_LOCKS	200912L
+
 #endif /* posix_opt.h */
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h b/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
index 22c5a5b8ac..5e0098d946 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
+++ b/linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h
@@ -131,4 +131,7 @@
 /* We support the Timeouts option.  */
 #define _POSIX_TIMEOUTS	200912L
 
+/* We support spinlocks.  */
+#define _POSIX_SPIN_LOCKS	200912L
+
 #endif /* posix_opt.h */