(RUN_WITH_BIG_STACK_4): Define.

This commit is contained in:
Jim Meyering 2003-02-17 17:21:00 +00:00
parent 3db0886789
commit 143bca6b80

View File

@ -30,4 +30,18 @@
do { F (A, B); } while (0)
#endif
#if HAVE_MMAP_STACK
# define RUN_WITH_BIG_STACK_4(F, A, B, C, D) \
do \
{ \
run_on_mmaped_stack ((void (*) (void)) F, 4, A, B, C, D); \
error (0, errno, _("warning: unable to use large stack")); \
F (A, B, C, D); \
} \
while (0)
#else
# define RUN_WITH_BIG_STACK_4(F, A, B, C, D) \
do { F (A, B, C, D); } while (0)
#endif
void run_on_mmaped_stack (void (*func_) (void), size_t argc_, ...);