Bug #5901 » smaller-heap-3.diff
configure.in (working copy) | ||
---|---|---|
CFLAGS="$save_CFLAGS"])
|
||
AC_DEFINE_UNQUOTED(GC_MARK_STACKFRAME_WORD, $rb_cv_gc_mark_stackframe_word)
|
||
AS_CASE(["$target_os"],
|
||
[openbsd*], [
|
||
AC_DEFINE_UNQUOTED(HEAP_ALIGN_LOG, 12)
|
||
])
|
||
dnl Checks for library functions.
|
||
AC_TYPE_GETGROUPS
|
||
AC_TYPE_SIGNAL
|
gc.c (working copy) | ||
---|---|---|
}
|
||
#endif
|
||
/* tiny heap size: 16KB */
|
||
#ifndef HEAP_ALIGN_LOG
|
||
/* default tiny heap size: 16KB */
|
||
#define HEAP_ALIGN_LOG 14
|
||
#endif
|
||
#define HEAP_ALIGN (1UL << HEAP_ALIGN_LOG)
|
||
#define HEAP_ALIGN_MASK (~(~0UL << HEAP_ALIGN_LOG))
|
||
#define REQUIRED_SIZE_BY_MALLOC (sizeof(size_t) * 5)
|
- « Previous
- 1
- 2
- 3
- Next »