diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,7 +25,7 @@ | |||
25 | #ifndef _DEFINES_H | 25 | #ifndef _DEFINES_H |
26 | #define _DEFINES_H | 26 | #define _DEFINES_H |
27 | 27 | ||
28 | /* $Id: defines.h,v 1.104 2003/11/21 12:48:55 djm Exp $ */ | 28 | /* $Id: defines.h,v 1.105 2003/11/24 02:07:46 djm Exp $ */ |
29 | 29 | ||
30 | 30 | ||
31 | /* Constants */ | 31 | /* Constants */ |
@@ -529,6 +529,14 @@ struct winsize { | |||
529 | # define krb5_get_err_text(context,code) error_message(code) | 529 | # define krb5_get_err_text(context,code) error_message(code) |
530 | #endif | 530 | #endif |
531 | 531 | ||
532 | /* Maximum number of file descriptors available */ | ||
533 | #ifdef HAVE_SYSCONF | ||
534 | # define SSH_SYSFDMAX sysconf(_SC_OPEN_MAX) | ||
535 | #else | ||
536 | # define SSH_SYSFDMAX 10000 | ||
537 | #endif | ||
538 | |||
539 | |||
532 | /* | 540 | /* |
533 | * Define this to use pipes instead of socketpairs for communicating with the | 541 | * Define this to use pipes instead of socketpairs for communicating with the |
534 | * client program. Socketpairs do not seem to work on all systems. | 542 | * client program. Socketpairs do not seem to work on all systems. |