summaryrefslogtreecommitdiff
path: root/mail/thunderbird17/patches/patch-af
blob: 226adf8449afc988456ba3197484db77bd2e83f3 (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
$NetBSD: patch-af,v 1.1 2013/11/13 13:27:45 ryoon Exp $

--- mozilla/config/mkdepend/imakemdep.h.orig	2012-08-25 00:30:58.000000000 +0000
+++ mozilla/config/mkdepend/imakemdep.h
@@ -235,7 +235,7 @@ in this Software without prior written a
 #ifdef _CRAY
 #define DEFAULT_CPP "/lib/pcpp"
 #endif
-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
 #define DEFAULT_CPP "/usr/libexec/cpp"
 #endif
 #ifdef	MACH
@@ -273,7 +273,7 @@ char *cpp_argv[ARGUMENTS] = {
 #ifdef unix
 	"-Uunix",	/* remove unix symbol so that filename unix.c okay */
 #endif
-#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH)
+#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH) || defined(__DragonFly__)
 # ifdef __i386__
 	"-D__i386__",
 # endif
@@ -713,6 +713,9 @@ struct symtab	predefs[] = {
 #ifdef __sgi
 	{"__sgi", "1"},
 #endif
+#ifdef __DragonFly__
+	{"__DragonFly__", "1"},
+#endif
 #ifdef __FreeBSD__
 	{"__FreeBSD__", "1"},
 #endif