GCC2 defines alloca() differently.

This commit is contained in:
brezak 1993-06-08 01:29:43 +00:00
parent 73bd7fefad
commit 6efeb0f4c8

View File

@ -102,7 +102,7 @@ int setenv __P((const char *, const char *, int));
#endif /* not ANSI */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
#if defined(alloca) && (alloca == __builtin_alloca)
#if defined(alloca) && (alloca == __builtin_alloca) && (__GNUC__ < 2)
void *alloca __P((int)); /* built-in for gcc */
#else
void *alloca __P((size_t));