Fresco/Prague/include/Prague/Sys Signal.hh,1.11,1.12

Tobias Hunger <[email protected]> Thu, 08 Jan 2004 14:31:07 +0100
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Prague/include/Prague/Sys
In directory purcel:/tmp/cvs-serv26130

Modified Files:
	Signal.hh 
Log Message:
FreeBSD has SIGIO instead of SIGPOLL, so use ifdef to choose the
right signal at compile time.


Index: Signal.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Prague/include/Prague/Sys/Signal.hh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Signal.hh	7 Nov 2003 23:46:36 -0000	1.11
+++ Signal.hh	8 Jan 2004 13:30:21 -0000	1.12
@@ -71,7 +71,12 @@
           background_write = SIGTTOU, //.< Background process attempting write. (default: stop process)
           user1 = SIGUSR1, //.< User-defined signal 1. (default: terminate process)
           user2 = SIGUSR2, //.< User-defined signal 2. (default: terminate process)
+#ifdef __FreeBSD__
+          poll = SIGIO, //.< Pollable event. (default: terminate process)
+#else
           poll = SIGPOLL, //.< Pollable event. (default: terminate process)
+#endif
+
           profiling = SIGPROF, //.< Profiling timer expired. (default: terminate process)
           system = SIGSYS, //.< Bad system call. (default: abort process)
           trap = SIGTRAP, //.< Trace/breakpoint trap. (default: abort process)