Lines 1-5
Link Here
|
1 |
--- src/util/sys_defs.h.orig 2009-12-03 22:30:03.000000000 -0200 |
1 |
--- src/util/sys_defs.h.orig 2011-03-01 19:35:19.000000000 -0500 |
2 |
+++ src/util/sys_defs.h 2009-12-03 22:31:51.000000000 -0200 |
2 |
+++ src/util/sys_defs.h 2011-03-01 19:36:54.000000000 -0500 |
3 |
@@ -25,7 +25,7 @@ |
3 |
@@ -25,7 +25,7 @@ |
4 |
*/ |
4 |
*/ |
5 |
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ |
5 |
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ |
Lines 9-21
Link Here
|
9 |
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ |
9 |
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ |
10 |
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ |
10 |
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ |
11 |
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \ |
11 |
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \ |
12 |
@@ -111,7 +111,8 @@ |
|
|
13 |
#define HAS_DUPLEX_PIPE /* 4.1 breaks with kqueue(2) */ |
14 |
#endif |
15 |
|
16 |
-#if __FreeBSD_version >= 800107 /* safe; don't believe the experts */ |
17 |
+#if (__FreeBSD_version >= 702104 && __FreeBSD_version <= 800000) \ |
18 |
+ || __FreeBSD_version >= 800100 |
19 |
#define HAS_CLOSEFROM |
20 |
#endif |
21 |
|