about summary refs log tree commit diff
path: root/sysdeps/nacl/sigaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nacl/sigaction.c')
-rw-r--r--sysdeps/nacl/sigaction.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/nacl/sigaction.c b/sysdeps/nacl/sigaction.c
new file mode 100644
index 0000000000..898486eea5
--- /dev/null
+++ b/sysdeps/nacl/sigaction.c
@@ -0,0 +1,11 @@
+#if IS_IN (libpthread)
+
+/* This placeholder file prevents nptl/sigaction.c from being compiled.
+   For NaCl, there is no need for a separate sigaction in libpthread.  */
+
+#else
+
+/* Get the standard stub.  */
+#include <signal/sigaction.c>
+
+#endif