index b70ffd213b3e527405f07564830887b4879a86a5..c06f89f884f42670d7553b7e83d903889a3dfb78 100644 (file)
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Id: fd.c,v 1.13 1997年01月13日 01:25:29 scrappy Exp $
+ * $Id: fd.c,v 1.14 1997年01月27日 00:09:43 scrappy Exp $
*
* NOTES:
*
static long no_files = 0;
if (no_files == 0) {
-#if defined(MISSING_SYSCONF)
+#ifndef HAVE_SYSCONF
no_files = (long)NOFILE;
#else
no_files = sysconf(_SC_OPEN_MAX);
elog(DEBUG,"pg_nofile: Unable to get _SC_OPEN_MAX using sysconf() using (%d)", NOFILE);
no_files = (long)NOFILE;
}
-#endif /* MISSING_SYSCONF */
+#endif
}
if ((no_files - RESERVE_FOR_LD) < FD_MINFREE)