fix compile warning on solaris

This commit is contained in:
Doug MacEachern 2007-03-02 14:09:13 +00:00
parent 92b68a1df7
commit f5937a5bdf
2 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,9 @@
#define sigar_isalpha(c) \
(isalpha(((unsigned char)(c))))
#define sigar_isupper(c) \
(isupper(((unsigned char)(c))))
#ifndef PROC_FS_ROOT
#define PROC_FS_ROOT "/proc/"
#endif

View File

@ -899,7 +899,7 @@ static int ptql_branch_parse(char *query, ptql_parse_branch_t *branch)
if (*query) {
char flag;
while (isupper((flag = *query))) {
while (sigar_isupper((flag = *query))) {
switch (flag) {
case 'P':
branch->op_flags |= PTQL_OP_FLAG_PARENT;