add cpu defines for x64 support and unification between delphi and fpc
authorbeware <beware@bircd.org>
Fri, 22 Nov 2013 02:39:09 +0000 (02:39 +0000)
committerbeware <beware@bircd.org>
Fri, 22 Nov 2013 02:39:09 +0000 (02:39 +0000)
git-svn-id: file:///svnroot/lcore/trunk@128 b1de8a11-f9be-4011-bde0-cc7ace90066a

pgtypes.inc

index af3381e9f81824bb1aee7d6a1a83cccb38036f5b..99fc6c0bee045dd13b744f7e5bcc1e938c8f1f82 100644 (file)
@@ -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}