diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-14 13:31:37 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-14 13:31:37 +0000 |
commit | fbcf86b83ee2a49b5627cc45545777f2a3fc488a (patch) | |
tree | b99e3269f92e9a5b083fd9a921362a1faddfff0b /lib | |
parent | 5c3f36b4b49961eca00c4d4cdf82dec64286f79b (diff) |
avoid using funtion isblank() and just use our ISBLANK
macro to provide this functionality on all platforms
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cookie.c | 1 | ||||
-rw-r--r-- | lib/setup_once.h | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/cookie.c b/lib/cookie.c index 913ffabeb..41a366d2d 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -84,7 +84,6 @@ Example set of cookies: #include <stdlib.h> #include <string.h> -#include <ctype.h> #define _MPRINTF_REPLACE /* without this on windows OS we get undefined reference to snprintf */ #include <curl/mprintf.h> diff --git a/lib/setup_once.h b/lib/setup_once.h index 827a6901e..e5a1117ac 100644 --- a/lib/setup_once.h +++ b/lib/setup_once.h @@ -131,12 +131,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 /* |