This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I compiled unix/sigset.c using libc/include/sys/signal.h which defines the macros sigfillset, sigdelset, and sigismember, among others. The following patch is necessary to undefine these macros.
Cheers, Shaun
* libc/unix/sigset.c: Undefine sigfillset, sigdelset, and sigismember.
Index: libc/unix/sigset.c =================================================================== RCS file: /cvs/src/src/newlib/libc/unix/sigset.c,v retrieving revision 1.2 diff -u -r1.2 sigset.c --- libc/unix/sigset.c 31 May 2002 20:18:59 -0000 1.2 +++ libc/unix/sigset.c 2 Jun 2006 15:33:52 -0000 @@ -11,6 +11,7 @@ return 0; }
+#undef sigfillset
int
sigfillset (sigset_t * set)
{
@@ -31,6 +32,7 @@
return 0;
}+#undef sigdelset
int
sigdelset (sigset_t * set, int signo)
{
@@ -43,6 +45,7 @@
return 0;
}+#undef sigismember
int
sigismember (const sigset_t * set, int signo)
{
Attachment:
newlib-sigset.diff
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |