lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add cpu defines for x64 support and unification between delphi and fpc
[lcore.git]
/
pgtypes.inc
diff --git
a/pgtypes.inc
b/pgtypes.inc
index af3381e9f81824bb1aee7d6a1a83cccb38036f5b..99fc6c0bee045dd13b744f7e5bcc1e938c8f1f82 100644
(file)
--- 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}