mirror of
https://github.com/curl/curl.git
synced 2026-07-25 10:07:57 +03:00
avoid using funtion isblank() and just use our ISBLANK
macro to provide this functionality on all platforms
This commit is contained in:
parent
5c3f36b4b4
commit
fbcf86b83e
5 changed files with 0 additions and 11 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue