Browse Source

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 years ago
parent
commit
b8e41ac31e
1 changed files with 1 additions and 1 deletions
  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))