1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Added David Bentham's notes about QNX and FD_SETSIZE

This commit is contained in:
Daniel Stenberg 2002-01-07 15:14:01 +00:00
parent e31a306a38
commit deb2911c0e

View File

@ -322,6 +322,24 @@ VMS
13-jul-2001
N. Baggus
QNX
===
(This section was graciously brought to us by David Bentham)
By setting FD_SETSIZE early in connect.c we override the QNX default value
and thus avoid a crash.
Fortunately in the QNX headers its defined as
#ifndef FD_SETSIZE
#define FD_SETSIZE 32
#endif
so its relatively easy to override without changing the original
definition. QNX claim posix compliance so this definition style could be
standard in other o/s's. Eg Microsoft Visual C++ 6 defines it similarly,
but its set to 64.
CROSS COMPILE
=============