* Removed compile-time checks for _SC_OPEN_MAX, _PC_PATH_MAX and _SC_PAGESIZE

and used simple build-time #ifdefs.


git-svn-id: svn://svn.zoy.org/elk/trunk@196 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
sam
2003-09-26 12:28:31 +00:00
parent 1e16bd8dd3
commit 5b1cb65202
4 changed files with 6 additions and 24 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ int Num_Filedescriptors() {
ret = OPEN_MAX;
#elif defined(HAVE_GETDTABLESIZE)
ret = getdtablesize();
#elif defined(SC_OPEN_MAX_IN_UNISTD_H)
#elif defined(_SC_OPEN_MAX)
static r;
if (r == 0) {
if ((r = sysconf(_SC_OPEN_MAX)) == -1)