From: Adam Dickmeiss Date: Mon, 23 Feb 2004 10:14:06 +0000 (+0000) Subject: Fix use of strcasecmp for WIN32 X-Git-Tag: YAZ.2.0.13 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=0cc88e06f6f9da823d51ea963857659e3685c2de;p=yaz-moved-to-github.git Fix use of strcasecmp for WIN32 --- 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) {