summaryrefslogtreecommitdiff
path: root/chat/ircd-hybrid/patches/patch-af
blob: d9012f78b77fd12f78bcb52b9a7b1271666e21d9 (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
$NetBSD: patch-af,v 1.1.1.1 2001/10/21 21:26:52 seb Exp $

--- src/list.c.orig	Wed Jul 18 04:15:27 2001
+++ src/list.c
@@ -53,7 +53,9 @@
    for smaller nets who knows? -Dianora
    */
 
+#ifndef LINK_PREALLOCATE
 #define LINK_PREALLOCATE 1024
+#endif
 
 /* Number of aClient structures to preallocate at a time
    for Efnet 1024 is reasonable 
@@ -64,7 +66,9 @@
    rather than 30k times -Dianora
 */
 
+#ifndef USERS_PREALLOCATE
 #define USERS_PREALLOCATE 1024
+#endif
 
 void    outofmemory(void);