aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/lib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-29 04:19:24 +0000
committerChristopher Faylor <me@cgf.cx>2000-07-29 04:19:24 +0000
commit9eef1530d55f69e6109e5d4348b735d008c2a666 (patch)
treee582c8fb84ee5380bac21f685dbc4295d9c9de94 /winsup/cygwin/lib
parentd1baac7725a8c276f56d8a37f77b1c09f1857bd5 (diff)
downloadnewlib-9eef1530d55f69e6109e5d4348b735d008c2a666.zip
newlib-9eef1530d55f69e6109e5d4348b735d008c2a666.tar.gz
newlib-9eef1530d55f69e6109e5d4348b735d008c2a666.tar.bz2
* 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 0d96178..6bfb077 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 */