fix compile warning on solaris
This commit is contained in:
parent
92b68a1df7
commit
f5937a5bdf
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue