blob: 831b0d3cbafc31fabd3ce1e00e6c10914f978d9f (
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
|
$NetBSD: patch-aj,v 1.1 2005/05/08 03:14:35 minskim Exp $
--- config/cf/Imake.cf.orig 2005-05-07 21:33:29.000000000 -0500
+++ config/cf/Imake.cf
@@ -19,6 +19,21 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v
* 4. Create a .cf file with the name given by MacroFile.
*/
+#if defined(__APPLE__)
+# undef __APPLE__
+# define MacroIncludeFile <Darwin.cf>
+# define MacroFile Darwin.cf
+# define DarwinArchitecture
+# ifdef __ppc__
+# define PpcDarwinArchitecture
+# undef __ppc__
+# endif
+# ifdef __i386__
+# define i386DarwinArchitecture
+# undef __i386__
+# endif
+#endif
+
#if defined(clipper) || defined(__clipper__)
# undef clipper
# define MacroIncludeFile <ingr.cf>
|