diff options
config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()
The feature test was incorrect:
_POSIX_C_SOURCE=2
"The value 2 or greater additionally exposes definitions for POSIX.2-1992."
http://man7.org/linux/man-pages/man7/feature_test_macros.7.html
A higher value is needed (atleast 1995):
https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html
FreeBSD feature test macro:
on
https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297
This was already fixed in dmenu.
This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
Diffstat (limited to 'dwm.c%2525252525253fid%2525252525253d73463070d76c4c4cf37cdd77898c6ec5407985dd%25252525253fid%25252525253d73463070d76c4c4cf37cdd77898c6ec5407985dd&id2%25252525253d3e587d111d3728daa731dd51b86c2b1e2ba34ba2%252525253fid%252525253d73463070d76c4c4cf37cdd77898c6ec5407985dd%2525253fid%2525253d707881dd36aa6856c8eaaa81f90c0338289b9c91%25253fid%25253dad82ceb532c27c7d8c63d6d2efcf2381ed74c853%253fid%253dad82ceb532c27c7d8c63d6d2efcf2381ed74c853&id2%253d722768ad1e26043e2867f33cab521f29dff10c2f%3fid%3dad82ceb532c27c7d8c63d6d2efcf2381ed74c853?id=c82db690cc0c4624dad4dc6ae899020799ec84db')
0 files changed, 0 insertions, 0 deletions