summaryrefslogtreecommitdiffhomepage
path: root/patch/include.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-04-03 17:25:16 +0200
committerbakkeby <[email protected]>2020-04-03 17:25:16 +0200
commitb3d6a47f4f0686ac45cd69a55ebab45e631786c7 (patch)
treef4ed0096c1d1abeb44dda16fafd4b97ad3ae6e7e /patch/include.c
parent674c00594b39163e05e85e05f8026f0602a2f3ef (diff)
downloaddwm-flexipatch-b3d6a47f4f0686ac45cd69a55ebab45e631786c7.tar.gz
dwm-flexipatch-b3d6a47f4f0686ac45cd69a55ebab45e631786c7.zip
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 'patch/include.c')
0 files changed, 0 insertions, 0 deletions