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

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

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

Visibility: public

Requested revision: f9c9ae84c6c0773ab8dc710cae3ce9024ca1e91c

Requested commit: f9c9ae84c6c0773ab8dc710cae3ce9024ca1e91c

Commit: f9c9ae84c6c0773ab8dc710cae3ce9024ca1e91c

Tree: e86b5708cb81a0f6a9817b453924e0de71c7ca3a

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

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

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