From 4fde2f427fd8f0997fa3fa8573894d62a944ca2c Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Mon, 12 Mar 2012 19:28:48 +0200 Subject: agg: fixes the uses clause for compilation under Windows. --- src/corelib/render/software/Agg2D.pas | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/render/software/Agg2D.pas b/src/corelib/render/software/Agg2D.pas index a843ae1d..432ac44f 100644 --- a/src/corelib/render/software/Agg2D.pas +++ b/src/corelib/render/software/Agg2D.pas @@ -24,10 +24,9 @@ interface {$I agg_mode.inc } // With this define you can switch use of FreeType or Win32 TrueType font engine -{DEFINE AGG2D_USE_FREETYPE } +{off DEFINE AGG2D_USE_FREETYPE } uses - SysUtils, agg_basics , agg_array , agg_trans_affine , @@ -69,8 +68,12 @@ uses agg_font_win32_tt , {$ENDIF } - Math, + Math , + {$IFDEF WINDOWS} + Windows , + {$ENDIF} Classes, + SysUtils, fpg_main; { GLOBAL VARIABLES & CONSTANTS } -- cgit v1.2.3-70-g09d2