[Fresco-devel] Re: [Fresco-changes] Fresco/Prague/include/Prague/Sys Signal.hh,1.11,1.12
Nick Lewycky <[email protected]> Thu, 08 Jan 2004 14:55:06 -0500
| Newsgroups | gmane.comp.video.fresco.devel |
|---|---|
| Message-ID | <[email protected]> |
Nathaniel Smith wrote: > On Thu, Jan 08, 2004 at 08:31:08AM -0500, Tobias Hunger wrote: > >>+#ifdef __FreeBSD__ >>+ poll = SIGIO, //.< Pollable event. (default: terminate process) >>+#else >> poll = SIGPOLL, //.< Pollable event. (default: terminate process) >>+#endif >>+ > > This should be a feature test, not a system-specific #ifdef! How about #ifndef SIGPOLL #define SIGPOLL SIGIO #endif ? -Nick