summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-09 13:04:23 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-03-09 13:04:23 +0200
commit36f3b56c2ec69f607dee2a6e96c343a0e42791d2 (patch)
tree599b825b8276869453591f7c7408b7712f0c5d89
parent680656f35aeca0077c891bd4c406324db8c373e2 (diff)
downloadfpGUI-36f3b56c2ec69f607dee2a6e96c343a0e42791d2.tar.xz
Adds x86_64 and FreeBSD information in the main include file.
-rw-r--r--src/corelib/render/software/agg_mode.inc19
1 files changed, 18 insertions, 1 deletions
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}
+