lazutils: no workaround for fpc 2.7.1

git-svn-id: trunk@40259 -
This commit is contained in:
mattias 2013-02-10 21:44:36 +00:00
parent fcc1d83bb8
commit f4df84419a

View File

@ -364,13 +364,19 @@ const
* *
******************************************************************) ******************************************************************)
procedure TT_Done_Stream( stream : TT_Stream ); procedure TT_Done_Stream( stream : TT_Stream );
{$IF FPC_FULLVERSION>=20701}
var var
p: Pointer; p: Pointer;
{$ENDIF}
begin begin
if stream.z = nil then exit; if stream.z = nil then exit;
{$IF FPC_FULLVERSION>=20701}
{$HINT workaround for bug 23868 when compiling with -O2} {$HINT workaround for bug 23868 when compiling with -O2}
p:=stream.z; p:=stream.z;
TFreeTypeStream(p).FOpen := false; TFreeTypeStream(p).FOpen := false;
{$ELSE}
TFreeTypeStream(stream.z).FOpen := false;
{$ENDIF}
end; end;
(******************************************************************* (*******************************************************************