X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fsfs%2FsfsMemFS.pas;h=edf35c0bed806ba75c26a1ced966930894b9daf2;hb=2c514f6c21866e5434865d550238e62979c7add2;hp=03c8be287c7890367062e86b45b5b10148670e61;hpb=fc715be74194fb63ae846d2972dab82ebf589b99;p=d2df-sdl.git diff --git a/src/sfs/sfsMemFS.pas b/src/sfs/sfsMemFS.pas index 03c8be2..edf35c0 100644 --- a/src/sfs/sfsMemFS.pas +++ b/src/sfs/sfsMemFS.pas @@ -11,12 +11,14 @@ // as a side effect this gives us an opportunity to read enclosed packs // from the packs which aren't supporting backseeking (such as zips). // +{.$DEFINE SFS_MSMFS} {$MODE DELPHI} {.$R-} unit sfsMemFS; interface +{$IFDEF SFS_MSMFS} uses SysUtils, Classes, Contnrs, sfs; @@ -44,11 +46,12 @@ type function Produce (const prefix, fileName: TSFSString; st: TStream): TSFSVolume; override; procedure Recycle (vol: TSFSVolume); override; end; - +{$ENDIF} implementation +{$IFDEF SFS_MSMFS} uses xstreams; @@ -240,4 +243,5 @@ initialization SFSRegisterVolumeFactory(memf); finalization SFSUnregisterVolumeFactory(memf); +{$ENDIF} end.