comparison src/nt.h @ 211:78478c60bfcd r20-4b4

Import from CVS: tag r20-4b4
author cvs
date Mon, 13 Aug 2007 10:05:51 +0200
parents 41ff10fd062f
children 41f2f0e326e9
comparison
equal deleted inserted replaced
210:49f55ca3ba57 211:78478c60bfcd
38 #define X_OK 1 38 #define X_OK 1
39 #define F_OK 0 39 #define F_OK 0
40 40
41 /* File descriptor set emulation. */ 41 /* File descriptor set emulation. */
42 42
43 /* MSVC runtime library has limit of 64 descriptors by default */ 43 /* The MSVC multithreaded statically-linked runtime library has limit
44 #define FD_SETSIZE 64 44 of 256 descriptors by default (the single-threaded static library
45 has a limit of 64 descriptors, and the DLL versions both have a
46 limit of 512). Beware. Should this be set to 512? */
47 #define FD_SETSIZE 256
45 typedef struct { 48 typedef struct {
46 unsigned int bits[FD_SETSIZE / 32]; 49 unsigned int bits[FD_SETSIZE / 32];
47 } fd_set; 50 } fd_set;
48 51
49 /* standard access macros */ 52 /* standard access macros */