Browse Source

Fix compilation of RTL when USE_FILEREC_FULLNAME is not defined

git-svn-id: trunk@47267 -
pierre 4 years ago
parent
commit
c2c4048e92
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/inc/file.inc

+ 2 - 0
rtl/inc/file.inc

@@ -519,9 +519,11 @@ Begin
       end
     else InOutRes:=103;
   end;
+{$ifdef USE_FILEREC_FULLNAME}
 {$ifdef FPC_HAS_FEATURE_ANSISTRINGS}
   UnicodeString(FileRec(f).FullName):='';
 {$endif FPC_HAS_FEATURE_ANSISTRINGS}
+{$endif USE_FILEREC_FULLNAME}
 End;