]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
use ifdef not if
authorTobias Oetiker <tobi@oetiker.ch>
Mon, 12 Jan 2015 20:39:54 +0000 (21:39 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Mon, 12 Jan 2015 20:39:54 +0000 (21:39 +0100)
src/rrd_daemon.c

index 94d9c890b18d723bf0c417a771913e26ab946bfb..d7643833f0059add9fc8d956c0dbe080db564d1e 100644 (file)
@@ -340,7 +340,7 @@ static void* signal_receiver (void UNUSED(*args))
 
   while (1)
   {
-#if HAVE_SIGWAITINFO    
+#ifdef HAVE_SIGWAITINFO    
     status = sigwaitinfo(&signal_set, &signal_info);
 #else
     status = -1;