projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
902d028
)
avoid using funtion isblank() and just use our ISBLANK
author
Yang Tse
<yangsita@gmail.com>
Wed, 14 Feb 2007 13:31:37 +0000
(13:31 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 14 Feb 2007 13:31:37 +0000
(13:31 +0000)
macro to provide this functionality on all platforms
configure.ac
patch
|
blob
|
history
setup_once.h
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
78f239f
..
0165c5e
100644
(file)
--- a/
configure.ac
+++ b/
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/setup_once.h
b/setup_once.h
index
9d39085
..
202b0ca
100644
(file)
--- 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
/*