mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2026-10-09 19:54:32 +00:00
avoid using funtion isblank() and just use our ISBLANK
macro to provide this functionality on all platforms
This commit is contained in:
@@ -553,7 +553,6 @@ AC_CHECK_MEMBER(struct addrinfo.ai_flags,
|
|||||||
|
|
||||||
|
|
||||||
AC_CHECK_FUNCS( bitncmp \
|
AC_CHECK_FUNCS( bitncmp \
|
||||||
isblank \
|
|
||||||
if_indextoname,
|
if_indextoname,
|
||||||
dnl if found
|
dnl if found
|
||||||
[],
|
[],
|
||||||
|
|||||||
@@ -124,12 +124,8 @@
|
|||||||
#define ISUPPER(x) (isupper((int) ((unsigned char)x)))
|
#define ISUPPER(x) (isupper((int) ((unsigned char)x)))
|
||||||
#define ISLOWER(x) (islower((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) == ' ') || \
|
#define ISBLANK(x) (int)((((unsigned char)x) == ' ') || \
|
||||||
(((unsigned char)x) == '\t'))
|
(((unsigned char)x) == '\t'))
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user