blob: fc331b9c24576284fa45498b914472b9dbd67704 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
$NetBSD: patch-ag,v 1.3 2011/10/25 01:36:45 mef Exp $
Add __ppc64__ and __arm__
--- Imake.cf.orig 2010-09-04 08:19:43.000000000 +0900
+++ Imake.cf 2011-10-14 19:04:02.000000000 +0900
@@ -25,9 +25,10 @@
# define MacroIncludeFile <darwin.cf>
# define MacroFile darwin.cf
# define DarwinArchitecture
-# ifdef __ppc__
+# if defined __ppc__ || defined __ppc64__
# define PpcDarwinArchitecture
# undef __ppc__
+# undef __ppc64__
# endif
# ifdef __i386__
# define i386DarwinArchitecture
@@ -238,8 +239,9 @@
# ifdef mc68000
# define Mc68020Architecture
# endif
-# ifdef __arm32__
+# if defined(__arm__) || defined(__arm32__)
# define Arm32Architecture
+# undef __arm__
# undef __arm32__
# endif
# ifdef __vax__
@@ -250,6 +252,10 @@
# define PpcArchitecture
# undef __powerpc__
# endif
+# ifdef __x86_64__
+# define AMD64Architecture
+# undef __x86_64__
+# endif
#endif /* NetBSD */
/* Systems based on kernel of NetBSD */
|