OSDN Git Service

mkostemp: fix implementation
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / sigaltstack.c
index 4267c74..964e16f 100644 (file)
@@ -9,5 +9,9 @@
 
 #include <sys/syscall.h>
 #include <signal.h>
+
+#if defined __NR_sigaltstack && (defined __USE_BSD || defined __USE_UNIX98)
+
 _syscall2(int, sigaltstack, const struct sigaltstack *, ss,
-                 struct sigaltstack *, oss);
+                 struct sigaltstack *, oss)
+#endif