diff options
author | zhukoff-pavel <zhukoff-pavel@yandex-team.com> | 2023-10-31 10:10:43 +0300 |
---|---|---|
committer | zhukoff-pavel <zhukoff-pavel@yandex-team.com> | 2023-10-31 10:33:30 +0300 |
commit | cf679e7e14de7680929174ff5647c96b739c31f7 (patch) | |
tree | 6a23769a5309f78b766437a00d60a13da79b885e /contrib/tools | |
parent | 40bd6f35def88b32f6f4014ca1e8559ce328fab7 (diff) | |
download | ydb-cf679e7e14de7680929174ff5647c96b739c31f7.tar.gz |
[contrib/tools/bison/gnulib/src] Update c-stack.c to work with newer glibc
Diffstat (limited to 'contrib/tools')
-rw-r--r-- | contrib/tools/bison/gnulib/src/c-stack.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/tools/bison/gnulib/src/c-stack.c b/contrib/tools/bison/gnulib/src/c-stack.c index b146cf254e..52e46f83de 100644 --- a/contrib/tools/bison/gnulib/src/c-stack.c +++ b/contrib/tools/bison/gnulib/src/c-stack.c @@ -52,6 +52,10 @@ typedef struct sigaltstack stack_t; #endif #ifndef SIGSTKSZ # define SIGSTKSZ 16384 +#elif defined __USE_DYNAMIC_STACK_SIZE +/* Redefining SIGSTKSZ here as dynamic stack size is not supported in this version of bison */ +# undef SIGSTKSZ +# define SIGSTKSZ 16384 #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384 /* libsigsegv 2.6 through 2.8 have a bug where some architectures use more than the Linux default of an 8k alternate stack when deciding |