Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-29 08:19:24 +0400
committerChristopher Faylor <me@cgf.cx>2000-07-29 08:19:24 +0400
commit9eef1530d55f69e6109e5d4348b735d008c2a666 (patch)
treee582c8fb84ee5380bac21f685dbc4295d9c9de94 /winsup/cygwin/lib
parentd1baac7725a8c276f56d8a37f77b1c09f1857bd5 (diff)
* include/cygwin/cygwin_dll.h: Update for modern compilers.
* lib/cygwin_crt0.c: Inexplicably need to define alloca for newer compilers. * fhandler.h (fhandler_console): Add new method. * fhandler.cc (fhandler_console::set_cursor_maybe): New method. (fhandler_console::read): Set cursor if it has moved to make it visible.
Diffstat (limited to 'winsup/cygwin/lib')
-rw-r--r--winsup/cygwin/lib/cygwin_crt0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/lib/cygwin_crt0.c b/winsup/cygwin/lib/cygwin_crt0.c
index 0d961786a..6bfb07797 100644
--- a/winsup/cygwin/lib/cygwin_crt0.c
+++ b/winsup/cygwin/lib/cygwin_crt0.c
@@ -13,6 +13,8 @@ details. */
#include <sys/cygwin.h>
#include "crt0.h"
+#define alloca __builtin_alloca
+
extern void dll_crt0__FP11per_process (struct per_process *) __declspec (dllimport) __attribute ((noreturn));
/* for main module */