From 5db38f775d9ba239e125d81dff2010a2ddacb48e Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 20 Feb 2017 22:01:46 +0200 Subject: Update posix/gawkmisc.c - remove cygwin code. --- posix/gawkmisc.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'posix/gawkmisc.c') diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c index 40950826..ecf5aff9 100644 --- a/posix/gawkmisc.c +++ b/posix/gawkmisc.c @@ -289,22 +289,3 @@ void init_sockets(void) { } - -#ifdef __CYGWIN__ -void -cygwin_premain0(int argc, char **argv, struct per_process *myself) -{ - static struct __cygwin_perfile pf[] = { - { "", O_RDONLY | O_TEXT }, - /*{ "", O_WRONLY | O_BINARY },*/ - { NULL, 0 } - }; - cygwin_internal(CW_PERFILE, pf); -} - -void -cygwin_premain2(int argc, char **argv, struct per_process *myself) -{ - setmode(fileno (stdin), O_TEXT); -} -#endif -- cgit v1.2.3