ossp-pkg/pth/pthread.h.in 1.64 -> 1.65
--- pthread.h.in 2002/10/15 18:23:37 1.64
+++ pthread.h.in 2002/11/03 16:31:34 1.65
@@ -63,6 +63,15 @@
#endif
/*
+ * Check if the user requests a bigger FD_SETSIZE than we can handle
+ */
+#if defined(FD_SETSIZE)
+#if FD_SETSIZE > @PTH_FDSETSIZE@
+#error "FD_SETSIZE is larger than what GNU Pth can handle."
+#endif
+#endif
+
+/*
* Protect namespace, because possibly existing vendor Pthread stuff
* would certainly conflict with our defintions of pthread*_t.
*/
|
|