blob: 6a56aa3f88f567141e0b9fac2bef9722b8f1b0f0 (
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
|
$NetBSD: patch-ac,v 1.7 2002/01/31 09:49:19 markd Exp $
--- Xvnc/config/imake/imakemdep.h.orig Sun Jul 27 03:41:05 1997
+++ Xvnc/config/imake/imakemdep.h
@@ -253,9 +253,12 @@
#ifdef _CRAY
#define DEFAULT_CPP "/lib/pcpp"
#endif
-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
+#if defined(__386BSD__)
#define DEFAULT_CPP "/usr/libexec/cpp"
#endif
+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
+#define USE_CC_E
+#endif
#if defined(__sgi) && defined(__ANSI_CPP__)
#define USE_CC_E
#endif
@@ -286,6 +289,11 @@
* Note that you may define more than one symbol (useful for platforms
* that support multiple operating systems).
*/
+
+#ifdef __NetBSD__
+#undef unix
+#define unix 42
+#endif
#define ARGUMENTS 50 /* number of arguments in various arrays */
char *cpp_argv[ARGUMENTS] = {
|