浏览代码

don't use String.lowercase on windows (updated extC now ensure correct casing)

Nicolas Cannasse 13 年之前
父节点
当前提交
5f4dc54227
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      common.ml

+ 1 - 3
common.ml

@@ -232,9 +232,7 @@ let find_file ctx f =
 
 let get_full_path f = try Extc.get_full_path f with _ -> f
 
-let unique_full_path =
-	if Sys.os_type <> "Win32" && Sys.os_type <> "Cygwin" then get_full_path else
-	(fun f -> String.lowercase (String.concat "/" (ExtString.String.nsplit (get_full_path f) "\\")))
+let unique_full_path = get_full_path
 
 (* ------------------------- TIMERS ----------------------------- *)