cmake: Check for isblank().

This commit is contained in:
Andreas Schneider
2013-10-30 17:30:07 +01:00
parent 099b914fd9
commit cfea381307
3 changed files with 7 additions and 1 deletions

View File

@@ -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)