summaryrefslogtreecommitdiff
path: root/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-14 13:31:37 +0000
committerYang Tse <yangsita@gmail.com>2007-02-14 13:31:37 +0000
commit0d8bf01d91e29c9576199349d70d6c07a02fa86c (patch)
tree07a92801ce96b2f126c7365e9d4dd1a39510a986 /setup_once.h
parent902d0283b78f0afae06b6099818da3180af4938d (diff)
downloadc-ares-0d8bf01d91e29c9576199349d70d6c07a02fa86c.tar.gz
c-ares-0d8bf01d91e29c9576199349d70d6c07a02fa86c.tar.bz2
c-ares-0d8bf01d91e29c9576199349d70d6c07a02fa86c.zip
avoid using funtion isblank() and just use our ISBLANK
macro to provide this functionality on all platforms
Diffstat (limited to 'setup_once.h')
-rw-r--r--setup_once.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/setup_once.h b/setup_once.h
index 9d39085..202b0ca 100644
--- a/setup_once.h
+++ b/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
/*