* 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:
Corinna Vinschen 2001-11-14 10:47:54 +00:00
parent d7ca37e413
commit ac0ac6534d
3 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -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 */

View File

@ -14,7 +14,6 @@ details. */
#define __INSIDE_CYGWIN__
#define alloca __builtin_alloca
#define strlen __builtin_strlen
#define strcmp __builtin_strcmp
#define strcpy __builtin_strcpy