[pisa-src] r1038 - trunk/include

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 07 Oct 2009 17:01:41 +0200

Author: biurrun
Date: Wed Oct  7 17:01:41 2009
New Revision: 1038

Log:
Fix wrong macro concatenation syntax: The SYSCONFDIR macro should not
be quoted, else the preprocessor will not expand it.

Modified:
   trunk/include/global.h

Modified: trunk/include/global.h
==============================================================================
--- trunk/include/global.h      Wed Oct  7 17:00:08 2009        (r1037)
+++ trunk/include/global.h      Wed Oct  7 17:01:41 2009        (r1038)
@@ -162,9 +162,9 @@
  */
 #define PATH_PROCNET_DEV       "/proc/net/dev"
 #define PATH_PROCNET_ROUTE     "/proc/net/route"
-#define PISA_CONFDIR_PATH      "SYSCONFDIR/pisa/"
+#define PISA_CONFDIR_PATH      SYSCONFDIR"/pisa/"
 #define PISA_RESOLVCONF_PATH   "/etc/resolv.conf"
-#define PISA_DIR_PERF_RESULTS  "SYSCONFDIR/pisa/results"
+#define PISA_DIR_PERF_RESULTS  SYSCONFDIR"/pisa/results"
 
 #define PISACD_CONFFILE                "pisacd.conf"
 #define PISACD_CONFFILE_FULLPATH       PISA_CONFDIR_PATH PISACD_CONFFILE

Other related posts:

  • » [pisa-src] r1038 - trunk/include - Diego Biurrun