From: Gisle Vanem Date: Wed, 18 Oct 2006 13:50:23 +0000 (+0000) Subject: Added ISPRINT() required for src/main.c. X-Git-Tag: curl-7_16_0~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94095c61d8cb93be46e248eb7f8d7cd07da27396;p=curl Added ISPRINT() required for src/main.c. --- diff --git a/lib/setup_once.h b/lib/setup_once.h index 52e12a5be..5573cbcb2 100644 --- a/lib/setup_once.h +++ b/lib/setup_once.h @@ -123,7 +123,7 @@ /* - * Uppercase macro versions of ANSI/ISO is*() functions/macros which + * Uppercase macro versions of ANSI/ISO is*() functions/macros which * avoid negative number inputs with argument byte codes > 127. */ @@ -133,6 +133,7 @@ #define ISXDIGIT(x) (isxdigit((int) ((unsigned char)x))) #define ISGRAPH(x) (isgraph((int) ((unsigned char)x))) #define ISALPHA(x) (isalpha((int) ((unsigned char)x))) +#define ISPRINT(x) (isprint((int) ((unsigned char)x))) #endif /* __SETUP_ONCE_H */