diff options
author | sof <unknown> | 1999-05-05 10:34:55 +0000 |
---|---|---|
committer | sof <unknown> | 1999-05-05 10:34:55 +0000 |
commit | ba6cc3283b363c5aa2839a217e5162e272814174 (patch) | |
tree | 7ae5960e6e26793b44ca4f1e85c95b669d366eb4 /ghc/lib/misc/cbits/regex.c | |
parent | e548e8aa01501daa9ac475af7e8318ff888dc2da (diff) | |
download | haskell-ba6cc3283b363c5aa2839a217e5162e272814174.tar.gz |
[project @ 1999-05-05 10:34:53 by sof]
stubs for starting & stopping Winsock
Diffstat (limited to 'ghc/lib/misc/cbits/regex.c')
-rw-r--r-- | ghc/lib/misc/cbits/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/lib/misc/cbits/regex.c b/ghc/lib/misc/cbits/regex.c index 72125642c6..761cb767b0 100644 --- a/ghc/lib/misc/cbits/regex.c +++ b/ghc/lib/misc/cbits/regex.c @@ -94,7 +94,7 @@ char *realloc (); This is used in most programs--a few other programs avoid this by defining INHIBIT_STRING_HEADER. */ #ifndef INHIBIT_STRING_HEADER -#if defined (HAVE_STRING_H) || defined (STDC_HEADERS) || defined (_LIBC) +#if defined (HAVE_STRING_H) || defined (STDC_HEADERS) || defined (_LIBC) || defined(_WIN32) #include <string.h> #ifndef bcmp #define bcmp(s1, s2, n) memcmp ((s1), (s2), (n)) |