On Mon, 2006-10-09 at 06:54 +0200, Gilles Chanteperdrix wrote:
> Philippe Gerum wrote:
>  > On Sun, 2006-10-08 at 21:51 +0200, Jan Kiszka wrote:
>  > > Philippe Gerum wrote:
>  > > >>
>  > > >>  o -D__XENO__
>  > > > 
>  > > > POSIX code may be compiled either against the regular Linux support, or
>  > > > against the Xenomai one; this define provides a standard signature to
>  > > > test for in order to detect the second case, if need be.
>  > > 
>  > > Ok. Should we restrict it to --posix-cflags then?
>  > > 
>  > 
>  > No objection, but in such a case, we'd be better off moving the define
>  > somewhere in include/posix/*.h. Gilles?
> 
> Since there are several files in include/posix and users are not
> supposed to include them all, it seems easier to force the flag in
> --posix-cflags.
> 

Ack. I was thinking of moving this define to a base header, but if we
really don't have any there, then let's keep it the way it is.

-- 
Philippe.



_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to