mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
Fixed the declaration of _alloca/alloca.
svn path=/trunk/; revision=3003
This commit is contained in:
parent
b37ed73013
commit
6e8befbaa7
1 changed files with 14 additions and 6 deletions
|
@ -25,9 +25,9 @@
|
||||||
* DISCLAMED. This includes but is not limited to warranties of
|
* DISCLAMED. This includes but is not limited to warranties of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
*
|
*
|
||||||
* $Revision: 1.1 $
|
* $Revision: 1.2 $
|
||||||
* $Author: ekohl $
|
* $Author: hbirr $
|
||||||
* $Date: 2001/07/03 12:55:00 $
|
* $Date: 2002/06/05 19:32:20 $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -56,9 +56,17 @@ typedef struct _heapinfo
|
||||||
} _HEAPINFO;
|
} _HEAPINFO;
|
||||||
|
|
||||||
int _heapwalk (_HEAPINFO* pHeapinfo);
|
int _heapwalk (_HEAPINFO* pHeapinfo);
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#ifdef USE_C_ALLOCA
|
||||||
|
void * C_alloca(size_t size);
|
||||||
|
#define _alloca(x) C_alloca(x)
|
||||||
|
#else /* USE_C_ALLOCA */
|
||||||
|
#define _alloca(x) __builtin_alloca(x)
|
||||||
|
#endif /* USE_C_ALLOCA */
|
||||||
|
#else /* __GNUC__ */
|
||||||
void * _alloca(size_t size);
|
void * _alloca(size_t size);
|
||||||
|
#endif /* __GNUC__ */
|
||||||
|
|
||||||
|
|
||||||
#ifndef _NO_OLDNAMES
|
#ifndef _NO_OLDNAMES
|
||||||
#define heapwalk(x) _heapwalk(x)
|
#define heapwalk(x) _heapwalk(x)
|
||||||
|
|
Loading…
Reference in a new issue