summaryrefslogtreecommitdiff
path: root/devel/pth/patches/patch-ai
blob: 28e9d18a58ca43bf23936a87c1f94a110213fd31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ai,v 1.1 2002/10/14 11:49:57 skrll Exp $

--- pthread.h.in.orig	Sun Jan 27 11:03:41 2002
+++ pthread.h.in
@@ -29,6 +29,13 @@
 #define _PTH_PTHREAD_H_
 
 /*
+ * check if the user wants a bigger FD_SETSIZE than we can handle
+ */
+#if FD_SETSIZE > @PTH_FDSETSIZE@
+#error "FD_SETSIZE is larger than pth can handle."
+#endif
+
+/*
 **
 ** BOOTSTRAPPING
 **