From 5bcb07458e730f64e7c435cba8ce68c97b576db2 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Mon, 31 Jul 2006 20:20:10 +0000 Subject: [PATCH] Fix missing _strnicmp on Linux. svn path=/trunk/; revision=23394 --- reactos/include/reactos/wine/port.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/include/reactos/wine/port.h b/reactos/include/reactos/wine/port.h index e158cfdadd1..a360ab65288 100644 --- a/reactos/include/reactos/wine/port.h +++ b/reactos/include/reactos/wine/port.h @@ -272,6 +272,10 @@ int strncasecmp(const char *str1, const char *str2, size_t n); # else # define strncasecmp _strnicmp # endif +#else +# ifndef HAVE__STRNICMP +# define _strnicmp strncasecmp +# endif #endif /* !defined(HAVE_STRNCASECMP) */ #ifndef HAVE_STRERROR