From 0cc88e06f6f9da823d51ea963857659e3685c2de Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 23 Feb 2004 10:14:06 +0000 Subject: [PATCH] Fix use of strcasecmp for WIN32 --- src/zgdu.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/zgdu.c b/src/zgdu.c index 7fd3c73..e5458e3 100644 --- a/src/zgdu.c +++ b/src/zgdu.c @@ -1,15 +1,21 @@ /* - * Copyright (c) 2002-2003, Index Data. + * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: zgdu.c,v 1.6 2004-02-19 23:21:44 adam Exp $ + * $Id: zgdu.c,v 1.7 2004-02-23 10:14:06 adam Exp $ */ +#include #include #include #include #include +#ifdef WIN32 +#define strncasecmp _strnicmp +#define strcasecmp _stricmp +#endif + static int decode_headers_content(ODR o, int off, Z_HTTP_Header **headers, char **content_buf, int *content_len) { -- 1.7.10.4