From 2bfedb1881eea1eb4e158779348794979ca9b681 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 6 Jan 2004 20:21:37 +0000 Subject: [PATCH] Use _strnicmp on Windows --- src/comstack.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/comstack.c b/src/comstack.c index 050fcc1..7ed6665 100644 --- a/src/comstack.c +++ b/src/comstack.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data * See the file LICENSE for details. * - * $Id: comstack.c,v 1.3 2004-01-06 19:12:19 adam Exp $ + * $Id: comstack.c,v 1.4 2004-01-06 20:21:37 adam Exp $ */ #include @@ -14,6 +14,10 @@ #include #include +#ifdef WIN32 +#define strncasecmp _strnicmp +#endif + static const char *cs_errlist[] = { "No error or unspecified error", -- 1.7.10.4