From daf6c9d5d61ddb8c36288c60445571c61a76d853 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 13 Oct 2015 19:05:41 +0200 Subject: m feature-test macro checking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/err.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/err.h b/include/err.h index ca28491..ae538ff 100644 --- a/include/err.h +++ b/include/err.h @@ -19,7 +19,6 @@ #define _ERR_H #include #include -#ifndef __PORTABLE #ifndef _SLIBC_SUPPRESS_WARNINGS # warning "Please consider not using ." @@ -31,6 +30,7 @@ +#if defined(__BSD_SOURCE) /** * Print a warning to stderr, followed by a description * of the value of `errno`. @@ -126,9 +126,9 @@ __noreturn void errx(int, const char*, ...) * @param args Formatting-arguments. */ __noreturn void verrx(int, const char*, va_list); +#endif -#endif #endif -- cgit v1.2.3-70-g09d2