소스 검색

Add TARGET_OS_64BIT macro for corresponding CPU targets

git-svn-id: trunk@30063 -
pierre 10 년 전
부모
커밋
dfb21140a2
1개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  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}