Corinna Vinschen
25742157d7
* libc/include/assert.h (static_assert): Define.
2012-10-16 19:00:30 +00:00
Jeff Johnston
d2af9effc5
2008-07-17 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
__STDC_VERSION__ < 199901L and __GNUC__ >= 2.
2008-07-17 20:56:51 +00:00
Eric Blake
3473e6bd7b
Support __func__ in assert, as required by C99.
...
* libc/stdlib/assert.c (__assert_func): New function.
(__assert): Use __assert_func.
* libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
possible.
2007-06-27 12:44:41 +00:00
Christopher Faylor
8a0efa53e4
import newlib-2000-02-17 snapshot
2000-02-17 19:39:52 +00:00