Răsfoiți Sursa

Allow compilation of compiler with 2.6.x RTL for simplyfied development.

cfileutl.pas:
  + define a TRawByteSearchRec if we're not compiling with at least a 2.7.1 compiler

git-svn-id: trunk@25456 -
svenbarth 12 ani în urmă
părinte
comite
2e70575afc
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      compiler/cfileutl.pas

+ 4 - 0
compiler/cfileutl.pas

@@ -148,6 +148,10 @@ function Unix2AmigaPath(path: ShortString): ShortString; external name 'PATHCONV
 function Unix2AmigaPath(path: String): String;{$IFDEF USEINLINE}inline;{$ENDIF}
 {$ENDIF}
 
+{$if FPC_FULLVERSION < 20701}
+type
+  TRawByteSearchRec = TSearchRec;
+{$endif}
 
 
 implementation