From fbcf86b83ee2a49b5627cc45545777f2a3fc488a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 14 Feb 2007 13:31:37 +0000 Subject: avoid using funtion isblank() and just use our ISBLANK macro to provide this functionality on all platforms --- ares/configure.ac | 1 - ares/setup_once.h | 4 ---- 2 files changed, 5 deletions(-) (limited to 'ares') diff --git a/ares/configure.ac b/ares/configure.ac index 78f239f25..0165c5e90 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -553,7 +553,6 @@ AC_CHECK_MEMBER(struct addrinfo.ai_flags, AC_CHECK_FUNCS( bitncmp \ - isblank \ if_indextoname, dnl if found [], diff --git a/ares/setup_once.h b/ares/setup_once.h index 9d3908550..202b0cadc 100644 --- a/ares/setup_once.h +++ b/ares/setup_once.h @@ -124,12 +124,8 @@ #define ISUPPER(x) (isupper((int) ((unsigned char)x))) #define ISLOWER(x) (islower((int) ((unsigned char)x))) -#ifdef HAVE_ISBLANK -#define ISBLANK(x) (isblank((int) ((unsigned char)x))) -#else #define ISBLANK(x) (int)((((unsigned char)x) == ' ') || \ (((unsigned char)x) == '\t')) -#endif /* -- cgit v1.2.3