svn commit: trunk/uClibc/libc/sysdeps/linux/i386

psm at uclibc.org psm at uclibc.org
Wed Jan 25 21:00:43 UTC 2006


Author: psm
Date: 2006-01-25 13:00:40 -0800 (Wed, 25 Jan 2006)
New Revision: 13612

Log:
Guard the use of sigreturn as in x86_64, thx blindvt

Modified:
   trunk/uClibc/libc/sysdeps/linux/i386/sigaction.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/i386/sigaction.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i386/sigaction.c	2006-01-25 20:56:55 UTC (rev 13611)
+++ trunk/uClibc/libc/sysdeps/linux/i386/sigaction.c	2006-01-25 21:00:40 UTC (rev 13612)
@@ -155,6 +155,7 @@
 RESTORE (restore_rt, __NR_rt_sigreturn)
 #endif
 
+#ifdef __NR_sigreturn
 /* For the boring old signals.  */
 # undef RESTORE2
 # define RESTORE2(name, syscall) \
@@ -169,3 +170,4 @@
    );
 
 RESTORE (restore, __NR_sigreturn)
+#endif




More information about the uClibc-cvs mailing list