blob: b6a2016453493455d566e6e43bbbbfa968487e84 (
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-ad,v 1.21 2005/09/08 15:22:53 reed Exp $
--- include/private/gcconfig.h.orig 2005-05-20 20:48:29.000000000 +0000
+++ include/private/gcconfig.h
@@ -55,7 +55,7 @@
# endif
/* And one for FreeBSD: */
-# if defined(__FreeBSD__) && !defined(FREEBSD)
+# if (defined(__FreeBSD__) || defined(__DragonFly__)) && !defined(FREEBSD)
# define FREEBSD
# endif
@@ -174,7 +174,8 @@
# define mach_type_known
# endif
# if defined(sparc) && defined(unix) && !defined(sun) && !defined(linux) \
- && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
+ && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__FreeBSD__) \
+ && !defined(__DragonFly__)
# define SPARC
# define DRSNX
# define mach_type_known
@@ -1998,7 +1999,7 @@
# define SUNOS5SIGS
# endif
-# if defined(FREEBSD) && (__FreeBSD__ >= 4)
+# if defined(FREEBSD) && (defined(__DragonFly__) || __FreeBSD__ >= 4)
# define SUNOS5SIGS
# endif
|