Explorar o código

Add TARGET_OS_64BIT macro for corresponding CPU targets

git-svn-id: trunk@30063 -
pierre %!s(int64=10) %!d(string=hai) anos
pai
achega
dfb21140a2
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  1. 17 0
      ide/globdir.inc

+ 17 - 0
ide/globdir.inc

@@ -195,3 +195,20 @@
 {$ifdef FPC_ARMHF}
   {$define FPC_ARMEL32}
 {$endif FPC_ARMHF}
+
+{ Set TARGET_IS_64BIT for corresponding compilation targets }
+{$ifdef X86_64}
+  {$define TARGET_IS_64BIT}
+{$endif}
+{$ifdef IA64}
+  {$define TARGET_IS_64BIT}
+{$endif}
+{$ifdef ALPHA}
+  {$define TARGET_IS_64BIT}
+{$endif}
+{$ifdef POWERPC64}
+  {$define TARGET_IS_64BIT}
+{$endif}
+{$ifdef AARCH64}
+  {$define TARGET_IS_64BIT}
+{$endif}