From 97fcac35f32fbaa27087b99ee8d3d1caaa38e045 Mon Sep 17 00:00:00 2001
From: florian <florian@freepascal.org>
Date: Mon, 17 Apr 2006 20:33:07 +0000
Subject: [PATCH] * fixed compilation on winx64

git-svn-id: trunk@3254 -
---
 compiler/aggas.pas | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/compiler/aggas.pas b/compiler/aggas.pas
index 201c7c1ac1..89cb58dfaf 100644
--- a/compiler/aggas.pas
+++ b/compiler/aggas.pas
@@ -691,7 +691,10 @@ implementation
                  end;
              end;
 
-{$ifdef cpuextended}
+           { the "and defined(FPC_HAS_TYPE_EXTENDED)" isn't optimal but currently the only solution
+             it prevents proper cross compilation to i386 though
+           }
+{$if defined(cpuextended) and defined(FPC_HAS_TYPE_EXTENDED)}
            ait_real_80bit :
              begin
                if do_line then