Fix missing _strnicmp on Linux.
authorEric Kohl <eric.kohl@reactos.org>
Mon, 31 Jul 2006 20:20:10 +0000 (20:20 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Mon, 31 Jul 2006 20:20:10 +0000 (20:20 +0000)
svn path=/trunk/; revision=23394

reactos/include/reactos/wine/port.h

index e158cfd..a360ab6 100644 (file)
@@ -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