hopefully handles bug #587
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17476 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
extern inline int __libc_use_alloca (size_t size)
|
#ifndef _EXTERN_INLINE
|
||||||
|
#define _EXTERN_INLINE extern inline
|
||||||
|
#endif
|
||||||
|
_EXTERN_INLINE int __libc_use_alloca (size_t size)
|
||||||
{
|
{
|
||||||
return size <= __MAX_ALLOCA_CUTOFF;
|
return size <= __MAX_ALLOCA_CUTOFF;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ MergeObject posix_gnu_stdlib.o :
|
|||||||
fpioconst.c
|
fpioconst.c
|
||||||
jrand48.c
|
jrand48.c
|
||||||
jrand48_r.c
|
jrand48_r.c
|
||||||
|
inlines.c
|
||||||
lcong48.c
|
lcong48.c
|
||||||
lcong48_r.c
|
lcong48_r.c
|
||||||
lrand48.c
|
lrand48.c
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#define _FORCE_INLINES
|
||||||
|
#define _EXTERN_INLINE /* empty */
|
||||||
|
#include "gmp.h"
|
||||||
|
#include "include/alloca.h"
|
||||||
Reference in New Issue
Block a user