# glibc patch: version-gate \_DYNAMIC_STACK_SIZE_SOURCE · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/a4a88e441f989942400dac8ac9b7f7e1a8f83b22)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: a4a88e441f989942400dac8ac9b7f7e1a8f83b22

Requested commit: a4a88e441f989942400dac8ac9b7f7e1a8f83b22

Commit: a4a88e441f989942400dac8ac9b7f7e1a8f83b22

Tree: a8f9f266ca58fdf091e943430e75249d0d8c6176

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
glibc patch: version-gate _DYNAMIC_STACK_SIZE_SOURCE

This is a patch to glibc features.h which makes
_DYNAMIC_STACK_SIZE_SOURCE undefined unless the version is >= 2.34.

This feature was introduced with glibc 2.34 and without this patch, code
built against these headers but then run on an older glibc will end up
making a call to sysconf() that returns -1 for the value of SIGSTKSZ
and MINSIGSTKSZ.

```

## Parents

- [cbe9923c2220d7e3475c0adfe87a29142fef8e6d](https://git.cafe/gitcafe/zig/commit/cbe9923c2220d7e3475c0adfe87a29142fef8e6d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/a4a88e441f989942400dac8ac9b7f7e1a8f83b22?format=markdown)
