diff options
author | NRK <nrk@disroot.org> | 2023-02-17 11:05:09 +0600 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-02-17 15:27:34 +0100 |
commit | 348f6559ab0d4793db196ffa56ba96ab95a594a6 (patch) | |
tree | ef828f3373f4b91d011b5a98063cae9a9d7c1f34 /dwm.c%25253fid%25253dd241309c21a7a22cb7ce539c6f88950652ae9b85%253fid%253dd241309c21a7a22cb7ce539c6f88950652ae9b85&id2%253d348f6559ab0d4793db196ffa56ba96ab95a594a6%3fid%3dd241309c21a7a22cb7ce539c6f88950652ae9b85?id=348f6559ab0d4793db196ffa56ba96ab95a594a6 | |
parent | 712d6639ff8e863560328131bbb92b248dc9cde7 (diff) |
config.mk: update to _XOPEN_SOURCE=700L
SA_NOCLDWAIT is marked as XSI in the posix spec [0] and FreeBSD and NetBSD
seems to more be strict about the feature test macro [1].
so update the macro to use _XOPEN_SOURCE=700L instead, which is equivalent to
_POSIX_C_SOURCE=200809L except that it also unlocks the X/Open System
Interfaces.
[0]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html#tag_13_42
[1]: https://lists.suckless.org/dev/2302/35111.html
Tested on:
* NetBSD 9.3 (fixed).
* FreeBSD 13 (fixed).
* Void Linux musl.
* Void Linux glibc.
* OpenBSD 7.2 (stable).
* Slackware 11.
Reported-by: beastie <pufferfish@riseup.net>
Diffstat (limited to 'dwm.c%25253fid%25253dd241309c21a7a22cb7ce539c6f88950652ae9b85%253fid%253dd241309c21a7a22cb7ce539c6f88950652ae9b85&id2%253d348f6559ab0d4793db196ffa56ba96ab95a594a6%3fid%3dd241309c21a7a22cb7ce539c6f88950652ae9b85?id=348f6559ab0d4793db196ffa56ba96ab95a594a6')
0 files changed, 0 insertions, 0 deletions