Introduction
Introduction Statistics Contact Development Disclaimer Help
config.mk: set DEFAULT_SOURCE - svkbd - simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log
Files
Refs
README
LICENSE
---
commit 02a2f77fbbfdf83b19f4f6b94597d4c2c70a3153
parent 3a51eafd3aa60d130f8f4ea40273e307246f1f37
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 18 Sep 2020 12:59:17 +0200
config.mk: set DEFAULT_SOURCE
This suppresses warnings about usleep and strdup on Linux glibc and musl.
(Also tested on OpenBSD and FreeBSD, which didn't give such a warning).
Thanks to quinq for reporting it.
Diffstat:
M config.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/config.mk b/config.mk
@@ -24,4 +24,4 @@ LIBS = -L${X11LIB} -lX11 -lXtst -lXft ${XINERAMALIBS} \
# use system flags
SVKBD_CFLAGS = ${CFLAGS} ${INCS}
SVKBD_LDFLAGS = ${LDFLAGS} ${LIBS}
-SVKBD_CPPFLAGS = ${CPPFLAGS} -DVERSION=\"VERSION\" ${XINERAMAFLAGS} -DLAYOUT=\…
+SVKBD_CPPFLAGS = ${CPPFLAGS} -D_DEFAULT_SOURCE -DVERSION=\"VERSION\" ${XINERAM…
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.