浏览代码

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 年之前
父节点
当前提交
b8e41ac31e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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))