When I try to compile a sample .c file containing only these two lines:
#define _POSIX_REALTIME_SIGNALS
#include
I get these parse errors:
$ gcc sample.c
In file included from /usr/include/signal.h:5,
from sample.c:2:
/usr/include/sys/signal.h:179: parse error before "siginfo_t
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Attila Szegedi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 15, 2003 8:30 PM
Subject: Re: #define _POSIX_REALTIME_SIGNALS causes parse error in
sys/signal.h
This is kind of follow-up to my question about _POSIX_REALTIME_SIGNALS:
what is (is there?) the proper way to get compiled some code under Cygwin
(originally written for Linux) that uses the sigwait() function? I first
naively thought that defining _POSIX_REALTIME_SIGNALS is enough to
conditionall
Still porting a piece of software from Linux to Cygwin. The code uses
pthread_yield() function, but there is no such function in Cygwin's
pthread.h (I updated my copy of Cygwin from the online setup today). Any
known workaround? I tried looking around the mailing list archive, and in
one place it s
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "Attila Szegedi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 15, 2003 11:52 PM
Subject: Re: #define _POSIX_REALTIME_SIGNALS causes parse error in
sys/signal
5 matches
Mail list logo