From 7fe8f2a007e5aa13517577d091a530c4dde5936a Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 7 Oct 2005 16:18:50 +0000 Subject: [PATCH] making /proc easier to redefine --- include/sigar_util.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/sigar_util.h b/include/sigar_util.h index a7e198a6..99a75aba 100644 --- a/include/sigar_util.h +++ b/include/sigar_util.h @@ -20,7 +20,13 @@ #define sigar_isalpha(c) \ (isalpha(((unsigned char)(c)))) +#ifndef PROC_FS_ROOT #define PROC_FS_ROOT "/proc/" +#endif + +#ifndef PROCP_FS_ROOT +#define PROCP_FS_ROOT "/proc/" +#endif char *sigar_uitoa(char *buf, unsigned int n, int *len);