aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os/connection.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-08 07:51:22 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 12:55:03 +0200
commitbd9ada59b47fb777ad1524abdc23b1a151494fff (patch)
treec6687689cf9859cb788ee02e8f48694d8ad6999b /nx-X11/programs/Xserver/os/connection.c
parent424c0e8ee3986b886bf2d7617897577a6b84aaed (diff)
downloadnx-libs-bd9ada59b47fb777ad1524abdc23b1a151494fff.tar.gz
nx-libs-bd9ada59b47fb777ad1524abdc23b1a151494fff.tar.bz2
nx-libs-bd9ada59b47fb777ad1524abdc23b1a151494fff.zip
os: remove CYGWIN remnants
Diffstat (limited to 'nx-X11/programs/Xserver/os/connection.c')
-rw-r--r--nx-X11/programs/Xserver/os/connection.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/os/connection.c b/nx-X11/programs/Xserver/os/connection.c
index 7deeec428..8ebef9c33 100644
--- a/nx-X11/programs/Xserver/os/connection.c
+++ b/nx-X11/programs/Xserver/os/connection.c
@@ -185,8 +185,6 @@ InitConnectionLimits(void)
{
lastfdesc = -1;
-#ifndef __CYGWIN__
-
#if !defined(XNO_SYSCONF) && defined(_SC_OPEN_MAX)
lastfdesc = sysconf(_SC_OPEN_MAX) - 1;
#endif
@@ -201,8 +199,6 @@ InitConnectionLimits(void)
lastfdesc = _NFILE - 1;
#endif
-#endif /* __CYGWIN__ */
-
/* This is the fallback */
if (lastfdesc < 0)
lastfdesc = MAXSOCKS;