aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/err.h4
1 files changed, 2 insertions, 2 deletions
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 <slibc/version.h>
#include <slibc/features.h>
-#ifndef __PORTABLE
#ifndef _SLIBC_SUPPRESS_WARNINGS
# warning "Please consider not using <err.h>."
@@ -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