From 8e124815758c835d0d23347f944cd3feb56c5e73 Mon Sep 17 00:00:00 2001 From: beware Date: Fri, 22 Nov 2013 02:39:09 +0000 Subject: [PATCH] add cpu defines for x64 support and unification between delphi and fpc git-svn-id: file:///svnroot/lcore/trunk@128 b1de8a11-f9be-4011-bde0-cc7ace90066a --- pgtypes.inc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pgtypes.inc b/pgtypes.inc index af3381e..99fc6c0 100644 --- a/pgtypes.inc +++ b/pgtypes.inc @@ -1,3 +1,13 @@ -{$ifdef cpu386}{$define i386}{$endif} +{$ifdef cpu386} + {$define i386} + {$define cpux86} +{$endif} + +{$ifdef cpuamd64} + {$define cpux64} +{$endif} + + {$ifdef i386}{$define ENDIAN_LITTLE}{$endif} +{$ifdef cpux64}{$define ENDIAN_LITTLE}{$endif} -- 2.30.2