blob: 523abb7254030c72e0068c67be41beeb099553bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- jrd/gds.c.orig Sat Mar 2 00:15:11 2002
+++ jrd/gds.c Sun Jul 7 14:27:44 2002
@@ -159,7 +159,7 @@
engine and this change may imply side effect I haven't known
about yet. Tomas Nejedlik (tomas@nejedlik.cz)
*/
-#if (defined(LINUX) && defined(SUPERCLIENT))
+#if ((defined(LINUX) || defined(FREEBSD)) && defined(SUPERCLIENT))
#define V4_THREADING
#endif
@@ -3510,9 +3510,9 @@
#else
(MAP_ANON |
#endif
-#if (!defined LINUX && !defined DARWIN)
-/* In LINUX, Solaris, and Darwin there is no such thing as MAP_VARIABLE. Hence, it gives
- compilation error. The equivalent functionality is default,
+#if (!defined LINUX && !defined DARWIN && !defined FREEBSD)
+/* In LINUX, Solaris, FreeBSD and Darwin there is no such thing as MAP_VARIABLE.
+ Hence, it gives compilation error. The equivalent functionality is default,
if you do not specify MAP_FIXED */
MAP_VARIABLE |
#endif /* LINUX */
|