* include/malloc.h (_alloca): Add definition.

(alloca): Ditto.
This commit is contained in:
Earnie Boyd
2002-12-12 21:00:57 +00:00
parent 24f7d30fa9
commit 51e1a2f296
2 changed files with 11 additions and 0 deletions

View File

@ -61,9 +61,15 @@ extern "C" {
but not W9x. On latter, they always set errno to ENOSYS.
*/
int _heapwalk (_HEAPINFO*);
#ifdef __GNUC__
#define _alloca(x) __builtin_alloca((x))
#endif
#ifndef _NO_OLDNAMES
int heapwalk (_HEAPINFO*);
#ifdef __GNUC__
#define alloca(x) __builtin_alloca((x))
#endif
#endif /* Not _NO_OLDNAMES */
int _heapchk (void); /* Verify heap integrety. */