summaryrefslogtreecommitdiff
path: root/net/coda_client/patches/patch-be
blob: 8dd27a143f80ca7a4377715ca70df5d8cd0cfdfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-be,v 1.1 1999/04/27 20:43:10 rvb Exp $

--- ../coda-4.6.6/coda-src/vice/srv.cc	Wed Oct  7 20:10:39 1998
+++ coda-src/vice/srv.cc	Tue Apr 27 14:49:42 1999
@@ -1773,9 +1773,15 @@
 		   "Setting Rvm Truncate threshhold to %d.\n", _Rvm_Truncate); 
 	    options->truncate = _Rvm_Truncate;				    
 	}
+#if	defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104000000)
+#define	NetBSD1_4
+#else
+#undef	NetBSD1_4
+#endif
+
 #if	defined(__FreeBSD__)
 	sbrk((void *)(0x50000000 - (int)sbrk(0))); /* for garbage reasons. */
-#elif	defined(__NetBSD__) && NetBSD1_3
+#elif	defined(__NetBSD__) && (defined(NetBSD1_3) || defined(NetBSD1_4))
 	sbrk((void *)(0x50000000 - (int)sbrk(0))); /* for garbage reasons. */
 #elif	defined(__NetBSD__) && NetBSD1_2
 	sbrk((void *)(0x20000000 - (int)sbrk(0))); /* for garbage reasons. */