mirror of https://gitee.com/openkylin/glibc.git
local-asserth-decls.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Date: Fri, 11 Nov 2022 23:32:10 +0800 Subject: local-asserth-decls
This commit is contained in:
parent
d42cd2d1ac
commit
438a5e5f01
|
@ -61,6 +61,8 @@
|
|||
|
||||
#else /* Not NDEBUG. */
|
||||
|
||||
#ifndef _ASSERT_H_DECLS
|
||||
#define _ASSERT_H_DECLS
|
||||
__BEGIN_DECLS
|
||||
|
||||
/* This prints an "Assertion failed" message and aborts. */
|
||||
|
@ -81,6 +83,7 @@ extern void __assert (const char *__assertion, const char *__file, int __line)
|
|||
|
||||
|
||||
__END_DECLS
|
||||
#endif /* Not _ASSERT_H_DECLS */
|
||||
|
||||
/* When possible, define assert so that it does not add extra
|
||||
parentheses around EXPR. Otherwise, those added parentheses would
|
||||
|
|
Loading…
Reference in New Issue