* winsup.h: Remove alloca definition since it's now defined through
inclusion of stdlib.h. * lib/cygwin_crt0.c: Ditto.
This commit is contained in:
parent
d7ca37e413
commit
ac0ac6534d
|
@ -1,3 +1,9 @@
|
|||
2001-11-14 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* winsup.h: Remove alloca definition since it's now defined through
|
||||
inclusion of stdlib.h.
|
||||
* lib/cygwin_crt0.c: Ditto.
|
||||
|
||||
2001-11-13 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* syscalls.cc (_write): Allow zero length as per SUSv2.
|
||||
|
|
|
@ -11,10 +11,9 @@ details. */
|
|||
#undef __INSIDE_CYGWIN__
|
||||
#include <windows.h>
|
||||
#include <sys/cygwin.h>
|
||||
#include <stdlib.h>
|
||||
#include "crt0.h"
|
||||
|
||||
#define alloca __builtin_alloca
|
||||
|
||||
extern void dll_crt0__FP11per_process (struct per_process *) __declspec (dllimport) __attribute ((noreturn));
|
||||
|
||||
/* for main module */
|
||||
|
|
|
@ -14,7 +14,6 @@ details. */
|
|||
|
||||
#define __INSIDE_CYGWIN__
|
||||
|
||||
#define alloca __builtin_alloca
|
||||
#define strlen __builtin_strlen
|
||||
#define strcmp __builtin_strcmp
|
||||
#define strcpy __builtin_strcpy
|
||||
|
|
Loading…
Reference in New Issue