summaryrefslogtreecommitdiff
path: root/setup_once.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-12-15 01:26:51 (GMT)
committerYang Tse <yangsita@gmail.com>2010-12-15 01:26:51 (GMT)
commit2c26d7d2548951f342ebdd8830f72d953fb463ae (patch)
treeef80da656b205db6e42d92ec579436012accafd2 /setup_once.h
parent623f3cb5316dcbe5f0419efae772995643181f3a (diff)
downloadc-ares-2c26d7d2548951f342ebdd8830f72d953fb463ae.zip
c-ares-2c26d7d2548951f342ebdd8830f72d953fb463ae.tar.gz
c-ares-2c26d7d2548951f342ebdd8830f72d953fb463ae.tar.bz2
setup_once: provide ISASCII macro
Diffstat (limited to 'setup_once.h')
-rw-r--r--setup_once.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup_once.h b/setup_once.h
index 0c7c811..14f3d55 100644
--- a/setup_once.h
+++ b/setup_once.h
@@ -248,6 +248,7 @@ struct timeval {
#define ISPRINT(x) (isprint((int) ((unsigned char)x)))
#define ISUPPER(x) (isupper((int) ((unsigned char)x)))
#define ISLOWER(x) (islower((int) ((unsigned char)x)))
+#define ISASCII(x) (isascii((int) ((unsigned char)x)))
#define ISBLANK(x) (int)((((unsigned char)x) == ' ') || \
(((unsigned char)x) == '\t'))