Don't call pa_rtsig_configure() when we lack the necessary defines.
authorPierre Ossman <ossman@cendio.se>
Wed, 3 Oct 2007 15:00:36 +0000 (15:00 +0000)
committerPierre Ossman <ossman@cendio.se>
Wed, 3 Oct 2007 15:00:36 +0000 (15:00 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1931 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/daemon/main.c

index 0e759d2..c135a6b 100644 (file)
@@ -614,7 +614,9 @@ int main(int argc, char *argv[]) {
     else
         pa_log_info("Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!");
 
+#ifdef SIGRTMIN
     pa_rtsig_configure(SIGRTMIN, SIGRTMAX);
+#endif
 
     pa_assert_se(mainloop = pa_mainloop_new());