]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/malloc.h (_alloca): Add definition.
authorEarnie Boyd <earnie@users.sf.net>
Thu, 12 Dec 2002 21:00:57 +0000 (21:00 +0000)
committerEarnie Boyd <earnie@users.sf.net>
Thu, 12 Dec 2002 21:00:57 +0000 (21:00 +0000)
(alloca): Ditto.

winsup/mingw/ChangeLog
winsup/mingw/include/malloc.h

index f1a23e26170f5c34164267857278d802f1da27d0..f3971b9a4f645f0dca27f067e7a12fba431b7883 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-12  Earnie Boyd  <earnie@users.sf.net>
+
+       * include/malloc.h (_alloca): Add definition.
+       (alloca): Ditto.
+
 2002-12-08  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * mingwex/math/s_erf.c: New file.
index 9c412404b0afb536d4b250e489f80a190216f2a3..097a5e1c1f46b1b2ed7283d801a51e38b8c699be 100644 (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. */
This page took 0.035461 seconds and 5 git commands to generate.