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%252525252525252525252525253fid%252525252525252525252525253d67d76bdc68102df976177de351f65329d8683064%2525252525252525252525253fid%2525252525252525252525253d61bb8b2241d4db08bea4261c82e27cd9797099e7%25252525252525252525253fid%25252525252525252525253dbb2e7222baeec7776930354d0e9f210cc2aaad5f%252525252525252525253fid%252525252525252525253df04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2%2525252525252525253fid%2525252525252525253df04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2%25252525252525253fid%25252525252525253df04cac6d6e39cd9e3fc4fae526e3d1e8df5e34b2%252525252525253fid%252525252525253df09418bbb6651ab4c299cfefbe1d18de401f630e%2525252525253fid%2525252525253df09418bbb6651ab4c299cfefbe1d18de401f630e&id2%2525252525253ded3ab6b4fceded0e9f2d22372df49a2bbd58de66%25252525253fid%25252525253df09418bbb6651ab4c299cfefbe1d18de401f630e%252525253fid%252525253df09418bbb6651ab4c299cfefbe1d18de401f630e%2525253fid%2525253ded3ab6b4fceded0e9f2d22372df49a2bbd58de66%25253fid%25253df087d20e6e60a49c756936b4312f5d194d8e63b4%253fid%253da8e9513783f335b1ac7255e40a663adfffc4b475%3fid%3dc82db690cc0c4624dad4dc6ae899020799ec84db?id=c82db690cc0c4624dad4dc6ae899020799ec84db')
0 files changed, 0 insertions, 0 deletions