瀏覽代碼

+ ExpandUNCFilename for win32 from Klaus Hartnegg

git-svn-id: trunk@715 -
florian 20 年之前
父節點
當前提交
bf311fd100
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      rtl/objpas/sysutils/fina.inc

+ 6 - 1
rtl/objpas/sysutils/fina.inc

@@ -101,13 +101,18 @@ Begin
 {$endif}
 end;
 
+
+{$ifndef HASEXPANDUNCFILENAME}
 function ExpandUNCFileName (Const FileName : string): String;
 begin
   Result:=ExpandFileName (FileName);
   //!! Here should follow code to replace the drive: part with UNC...
 end;
+{$endif HASEXPANDUNCFILENAME}
+
 
-Const MaxDirs = 129;
+Const
+  MaxDirs = 129;
 
 function ExtractRelativepath (Const BaseName,DestName : String): String;