From 94095c61d8cb93be46e248eb7f8d7cd07da27396 Mon Sep 17 00:00:00 2001 From: Gisle Vanem <gvanem@broadpark.no> Date: Wed, 18 Oct 2006 13:50:23 +0000 Subject: Added ISPRINT() required for src/main.c. --- lib/setup_once.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 */ -- cgit v1.2.3