diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-29 23:01:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-29 23:01:31 +0200 |
commit | 841f17b59aac1c6d273f7e053243e6aaf29dc3c4 (patch) | |
tree | 8189aa40f8b26d7a22529937235cd6b95615e90c /include/assert.h | |
parent | add err.h + add _SLIBC_SUPPRESS_WARNINGS (diff) | |
download | slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.gz slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.bz2 slibc-841f17b59aac1c6d273f7e053243e6aaf29dc3c4.tar.xz |
add _PORTABLE_SOURCE
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | include/assert.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/assert.h b/include/assert.h index 763b7b4..12d4678 100644 --- a/include/assert.h +++ b/include/assert.h @@ -58,6 +58,7 @@ #define static_assert _Static_assert +#ifndef _PORTABLE_SOURCE /** * Unless `NDEBUG` is defined, print an error message * and abort the process, if `errnum` is non-zero. @@ -90,6 +91,7 @@ */ void __assert_fail(const char* expression, int errnum, const char* file, int line, const char* func) __noreturn __GCC_ONLY(__attribute__((nonnull(3, 4, 5)))); +#endif |