From 48a10a64970575bdbe0d1c5342e0925b338be598 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 15 Aug 2018 02:15:52 +0000 Subject: Autodetect whether _GNU_SOURCE or _OPENBSD_SOURCE are needed; the latter is a NetBSD idiosyncrasy reported by wiz@. Also take into account that NetBSD declares getsubopt(3) in the wrong header. --- test-strcasestr.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test-strcasestr.c') diff --git a/test-strcasestr.c b/test-strcasestr.c index c3a87de8..0b1a576b 100644 --- a/test-strcasestr.c +++ b/test-strcasestr.c @@ -1,7 +1,3 @@ -#if defined(__linux__) || defined(__MINT__) -# define _GNU_SOURCE /* strcasestr() */ -#endif - #include int -- cgit