Prechádzať zdrojové kódy

Add TARGET_OS_64BIT macro for corresponding CPU targets

git-svn-id: trunk@30063 -
pierre 10 rokov pred
rodič
commit
dfb21140a2
1 zmenil súbory, kde vykonal 17 pridanie a 0 odobranie
  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}