From cfea3813071755c8a17985d8bae7447b30c95790 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 30 Oct 2013 17:30:07 +0100 Subject: cmake: Check for isblank(). --- include/libssh/priv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/libssh') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 43f749bb..364f8e97 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -67,7 +67,9 @@ # define strcasecmp _stricmp # define strncasecmp _strnicmp -# define isblank(ch) ((ch) == ' ' || (ch) == '\t' || (ch) == '\n' || (ch) == '\r') +# if ! defined(HAVE_ISBLANK) +# define isblank(ch) ((ch) == ' ' || (ch) == '\t' || (ch) == '\n' || (ch) == '\r') +# endif # define usleep(X) Sleep(((X)+1000)/1000) -- cgit