Add a isblank definition for MSVC < 2013
This commit is contained in:
parent
b7b44dfad0
commit
51f86346c0
@ -52,6 +52,14 @@ typedef intptr_t ssize_t;
|
||||
# define __func__ __FUNCTION__
|
||||
/* Disable warnings about deprecated system functions. */
|
||||
# pragma warning(disable: 4996)
|
||||
#if _MSC_VER < 1800
|
||||
static int
|
||||
isblank(int c)
|
||||
{
|
||||
|
||||
return (c == '\t' || c == ' ');
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user