Mercurial > hg > xemacs-beta
diff src/nt.h @ 239:41f2f0e326e9 r20-5b18
Import from CVS: tag r20-5b18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:15:48 +0200 |
parents | 78478c60bfcd |
children | e11d67e05968 |
line wrap: on
line diff
--- a/src/nt.h Mon Aug 13 10:15:04 2007 +0200 +++ b/src/nt.h Mon Aug 13 10:15:48 2007 +0200 @@ -25,9 +25,8 @@ /* Sync'ed with Emacs 19.34.6 by Marc Paquette <marcpa@cam.org> */ /* #define FULL_DEBUG */ -#define EMACSDEBUG -#ifdef EMACSDEBUG +#ifdef DEBUG_XEMACS #define DebPrint(stuff) _DebPrint stuff #else #define DebPrint(stuff) @@ -40,6 +39,9 @@ /* File descriptor set emulation. */ +#if 0 /* These are defined in winsock.h. + FD_SETSIZE is defined 64. Let's not full the runtime. */ + /* The MSVC multithreaded statically-linked runtime library has limit of 256 descriptors by default (the single-threaded static library has a limit of 64 descriptors, and the DLL versions both have a @@ -66,6 +68,9 @@ #define FD_ZERO(p) memset((p), 0, sizeof(fd_set)) #define SELECT_TYPE fd_set +#define MAXDESC FD_SETSIZE + +#endif /* 0 */ /* ------------------------------------------------------------------------- */ @@ -94,7 +99,6 @@ char chr; } child_process; -#define MAXDESC FD_SETSIZE #define MAX_CHILDREN MAXDESC/2 #define CHILD_ACTIVE(cp) ((cp)->char_avail != NULL)