aboutsummaryrefslogtreecommitdiffstats
path: root/include/assert.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-12 00:00:00 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-12 00:00:00 +0200
commit7389b031ee054699e2df35cee82af1997321d7d7 (patch)
tree39e410b8a0b448c8294d35e8e3ebb0c0d8eb055d /include/assert.h
parentadd zalloc (diff)
downloadslibc-7389b031ee054699e2df35cee82af1997321d7d7.tar.gz
slibc-7389b031ee054699e2df35cee82af1997321d7d7.tar.bz2
slibc-7389b031ee054699e2df35cee82af1997321d7d7.tar.xz
simplified feature-test macros
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/assert.h b/include/assert.h
index dad6042..bf99258 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -56,7 +56,7 @@
#define static_assert _Static_assert
-#if (defined(_SLIBC_SOURCE) || defined(_GNU_SOURCE)) && !defined(__PORTABLE)
+#if defined(__SLIBC_SOURCE) || defined(__GNU_SOURCE)
/**
* Unless `NDEBUG` is defined, print an error message
* and abort the process, if `errnum` is non-zero.