* mdocml: strcasestr() wants _GNU_SOURCE on Linux
@ 2014-08-05 16:03 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-08-05 16:03 UTC (permalink / raw)
To: source
Log Message:
-----------
strcasestr() wants _GNU_SOURCE on Linux
Modified Files:
--------------
mdocml:
config.h.pre
test-strcasestr.c
Revision Data
-------------
Index: config.h.pre
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/config.h.pre,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lconfig.h.pre -Lconfig.h.pre -u -p -r1.3 -r1.4
--- config.h.pre
+++ config.h.pre
@@ -2,7 +2,7 @@
#define MANDOC_CONFIG_H
#if defined(__linux__) || defined(__MINT__)
-# define _GNU_SOURCE /* strptime(), getsubopt() */
+# define _GNU_SOURCE /* getsubopt(), strcasestr(), strptime() */
#endif
#include <sys/types.h>
Index: test-strcasestr.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/test-strcasestr.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -Ltest-strcasestr.c -Ltest-strcasestr.c -u -p -r1.1 -r1.2
--- test-strcasestr.c
+++ test-strcasestr.c
@@ -1,3 +1,7 @@
+#if defined(__linux__) || defined(__MINT__)
+# define _GNU_SOURCE /* strcasestr() */
+#endif
+
#include <string.h>
int
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-05 16:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 16:03 mdocml: strcasestr() wants _GNU_SOURCE on Linux schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).