Pārlūkot izejas kodu

Merge pull request #5497 from afishbeck/windowsStrncasecmp

HPCC-10978 Fix windows build breack by removing use of strncasecmp

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 gadi atpakaļ
vecāks
revīzija
b8e41ac31e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      common/workunit/referencedfilelist.cpp

+ 1 - 1
common/workunit/referencedfilelist.cpp

@@ -41,7 +41,7 @@ bool checkForeign(const char *lfn)
     if (*lfn=='~')
         lfn++;
     static size_t l = strlen("foreign");
-    if (strncasecmp("foreign", lfn, l)==0)
+    if (strnicmp("foreign", lfn, l)==0)
     {
         lfn+=l;
         while (isspace(*lfn))