projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2b1085e
)
Fix use of strcasecmp for WIN32
YAZ.2.0.13
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 23 Feb 2004 10:14:06 +0000
(10:14 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 23 Feb 2004 10:14:06 +0000
(10:14 +0000)
src/zgdu.c
patch
|
blob
|
history
diff --git
a/src/zgdu.c
b/src/zgdu.c
index
7fd3c73
..
e5458e3
100644
(file)
--- 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.
*
* 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 <ctype.h>
#include <yaz/odr.h>
#include <yaz/yaz-version.h>
#include <yaz/yaz-iconv.h>
#include <yaz/zgdu.h>
#include <yaz/odr.h>
#include <yaz/yaz-version.h>
#include <yaz/yaz-iconv.h>
#include <yaz/zgdu.h>
+#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)
{
static int decode_headers_content(ODR o, int off, Z_HTTP_Header **headers,
char **content_buf, int *content_len)
{