Commit 6ca6e058 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use sysconf instead of getdtablesize, if sysconf exists.

parent ecbbf8c1
/*
* $Id: config.h,v 0.8 1993/10/07 23:14:52 ceder Exp $
* $Id: config.h,v 0.9 1993/10/10 11:58:46 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -172,7 +172,7 @@ extern const int MAX_CREA_MISC; /* Sum of recipients, cc_recipients, comm_to
* all at the beginning of main(). Otherwise it is determined at
* compile-time.
*/
#ifdef HAVE_GETDTABLESIZE
#if defined(HAVE_GETDTABLESIZE) || defined(HAVE_SYSCONF)
extern int MAX_NO_OF_CONNECTIONS;
#else
extern const int MAX_NO_OF_CONNECTIONS;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment