ossp-pkg/pth/pth.h.in 1.136 -> 1.137
--- pth.h.in 2002/11/03 11:15:04 1.136
+++ pth.h.in 2002/11/03 16:31:34 1.137
@@ -87,6 +87,13 @@
#define END_DECLARATION /*nop*/
#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
+
BEGIN_DECLARATION
/* some global constants */
|
|