From: sof Date: Mon, 25 Mar 2002 05:23:53 +0000 (+0000) Subject: [project @ 2002-03-25 05:23:53 by sof] X-Git-Tag: nhc98-1-18-release~1082 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=8da0e213acea03bc8077c1e11bdf00bd7cb8cda2;p=ghc-base.git [project @ 2002-03-25 05:23:53 by sof] provide isblank() for Win32 --- diff --git a/cbits/regex/regcomp.c b/cbits/regex/regcomp.c index a85751b..4bb3557 100644 --- a/cbits/regex/regcomp.c +++ b/cbits/regex/regcomp.c @@ -54,6 +54,10 @@ static char sccsid[] = "@(#)regcomp.c 8.5 (Berkeley) 3/20/94"; // removed collate stuff --SDM // #include "collate.h" +#ifdef _WIN32 +#define isblank(c) ((c) == ' ' || (c) == '\t') +#endif + #include "utils.h" #include "regex2.h"