From: beware Date: Fri, 22 Nov 2013 02:39:09 +0000 (+0000) Subject: add cpu defines for x64 support and unification between delphi and fpc X-Git-Url: http://www.lcore.org/git/lcore.git/commitdiff_plain/8e124815758c835d0d23347f944cd3feb56c5e73 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 --- 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}