aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/os/osinit.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/osinit.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/osinit.c')
-rw-r--r--nx-X11/programs/Xserver/os/osinit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/os/osinit.c b/nx-X11/programs/Xserver/os/osinit.c
index 823656316..367635f6c 100644
--- a/nx-X11/programs/Xserver/os/osinit.c
+++ b/nx-X11/programs/Xserver/os/osinit.c
@@ -101,11 +101,8 @@ OsInit(void)
InitNotifyFds();
-#if !defined(__CYGWIN__)
fclose(stdin);
fclose(stdout);
-#endif
-
/*
* If a write of zero bytes to stderr returns non-zero, i.e. -1,
@@ -131,7 +128,7 @@ OsInit(void)
dup2 (fileno (err), 2);
fclose (err);
}
-#if defined(SYSV) || defined(SVR4) || defined(__CYGWIN__)
+#if defined(SYSV) || defined(SVR4)
{
static char buf[BUFSIZ];
setvbuf (stderr, buf, _IOLBF, BUFSIZ);