thermferm/rdconfig.c

changeset 58
e8e7b46b705b
parent 56
f7711c6ac93c
child 66
805f1d285acd
--- a/thermferm/rdconfig.c	Sat May 31 11:39:13 2014 +0200
+++ b/thermferm/rdconfig.c	Sat May 31 11:47:23 2014 +0200
@@ -22,6 +22,7 @@
 
 #include "thermferm.h"
 
+#ifdef HAVE_WIRINGPI_H
 
 bool		debug = FALSE;
 static char	*mypath;
@@ -34,9 +35,7 @@
 static int getstr(char **);
 static int getint(char **);
 static int getw1(char **);
-#ifdef HAVE_WIRINGPI_H
 static int getrcs(char **);
-#endif
 static int getuch(char **);
 static int getfloat(char **);
 //static int getbyt(char **);
@@ -363,7 +362,6 @@
 
 
 
-#ifdef HAVE_WIRINGPI_H
 static int getrcs(char **dest)
 {
     char        *p, *q = NULL, *r = NULL;
@@ -401,7 +399,6 @@
 
     return 0;
 }
-#endif
 
 
 
@@ -470,4 +467,5 @@
 }
 */
 
+#endif
 

mercurial