From 36f3b56c2ec69f607dee2a6e96c343a0e42791d2 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 9 Mar 2012 13:04:23 +0200 Subject: Adds x86_64 and FreeBSD information in the main include file. --- src/corelib/render/software/agg_mode.inc | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/corelib/render/software/agg_mode.inc b/src/corelib/render/software/agg_mode.inc index 27b5c360..b222f4ff 100644 --- a/src/corelib/render/software/agg_mode.inc +++ b/src/corelib/render/software/agg_mode.inc @@ -20,6 +20,12 @@ {$ENDIF } +{$IFDEF CPUx86_64 } + {$DEFINE AGG_CPU_x86_64 } + +{$ENDIF } + + {$IFDEF FPC } {$MODE DELPHI } @@ -39,6 +45,9 @@ {$ENDIF} {$ENDIF } +{$Warning fpGUI supports other *nix flavours too (FreeBSD, Solaris etc), so this + needs to be extended at some point. } + {$IFDEF LINUX } {$DEFINE AGG_LINUX } {$IFNDEF AGG2D_NO_FONT} @@ -46,9 +55,16 @@ {$ENDIF} {$ENDIF } +{$Warning Experimental FreeBSD support - totally untested! } +{$IFDEF FREEBSD } + {$DEFINE AGG_LINUX } + {$IFNDEF AGG2D_NO_FONT} + {$DEFINE AGG2D_USE_FREETYPE} + {$ENDIF} +{$ENDIF } + {$IFDEF DARWIN } {$DEFINE AGG_MACOSX } - {$ENDIF } //---------------------------------------------------------------------------- @@ -109,3 +125,4 @@ {$DEFINE AGG2D_NO_FONT} {$ENDIF} {$ENDIF} + -- cgit v1.2.3-70-g09d2