diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-15 02:15:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-15 02:15:52 +0000 |
commit | 48a10a64970575bdbe0d1c5342e0925b338be598 (patch) | |
tree | 05396a2b66e98040a95ee45656b95a0d483ed0f6 /test-vasprintf.c | |
parent | 9d71e0cbacf0681fd313f1e52974183828949490 (diff) | |
download | mandoc-48a10a64970575bdbe0d1c5342e0925b338be598.tar.gz |
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.
Diffstat (limited to 'test-vasprintf.c')
-rw-r--r-- | test-vasprintf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test-vasprintf.c b/test-vasprintf.c index 017a56df..b0ad67e8 100644 --- a/test-vasprintf.c +++ b/test-vasprintf.c @@ -15,10 +15,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#if defined(__linux__) || defined(__MINT__) -#define _GNU_SOURCE /* vasprintf() */ -#endif - #include <stdarg.h> #include <stdio.h> #include <string.h> |