Commit Graph

6 Commits (2cb3e697e41c09059dbff9ec903875a95d019a7f)

Author SHA1 Message Date
bakkeby b3d6a47f4f 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.
4 years ago
bakkeby 9440e76936 The Xrender library does not need to be included by default, only include when alpha patch is enabled. 4 years ago
bakkeby a560b9cb53 Adding rounded corners patch 4 years ago
bakkeby 3726d8d1ea Adding swallow patch 5 years ago
bakkeby ed1c509df3 Adding mdpcontrol patch 5 years ago
bakkeby c34c536f3e Adding alpha patch 5 years ago