summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-12 22:39:27 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-12 22:39:27 +0200
commit9a51d62087dbdabe3f865c1b68e5461ee818a759 (patch)
tree3a66431560218d8ad20d5cd8c595778ccbf2956d /src
parent845ab5f1486b4650a3a37e6b3720d6d41d6627a0 (diff)
downloadfpGUI-9a51d62087dbdabe3f865c1b68e5461ee818a759.tar.xz
agg: 64-bit fix for the freetype library unit.
Diffstat (limited to 'src')
-rw-r--r--src/corelib/render/software/agg_font_freetype_lib.pas12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/corelib/render/software/agg_font_freetype_lib.pas b/src/corelib/render/software/agg_font_freetype_lib.pas
index 9928ac5b..a10d03c6 100644
--- a/src/corelib/render/software/agg_font_freetype_lib.pas
+++ b/src/corelib/render/software/agg_font_freetype_lib.pas
@@ -89,10 +89,16 @@ type
FT_Int = longint;
FT_UInt = longword;
FT_Int32 = longint;
- FT_Long = longint;
- FT_ULong = longword;
+ {$if defined(cpu64) and not(defined(win64) and defined(cpux86_64))}
+ FT_Long = int64;
+ FT_ULong = qword;
+ FT_Pos = int64;
+ {$ELSE}
+ FT_Long = longint;
+ FT_ULong = longword;
+ FT_Pos = longint;
+ {$ENDIF}
FT_Fixed = longint;
- FT_Pos = longint;
FT_Error = longint;
FT_F26Dot6 = longint;