summaryrefslogtreecommitdiff
path: root/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'glibc/glibc-2.3.2/glibc23-asserth-decls.patch')
-rw-r--r--glibc/glibc-2.3.2/glibc23-asserth-decls.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/glibc/glibc-2.3.2/glibc23-asserth-decls.patch b/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
index e69de29bb2..f5791608fd 100644
--- a/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
+++ b/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
@@ -0,0 +1,19 @@
+--- assert/assert.h 2002-10-13 15:24:18.000000000 +0200
++++ assert/assert.h 2002-10-13 15:23:57.000000000 +0200
+@@ -62,6 +62,8 @@
+
+ #else /* Not NDEBUG. */
+
++#ifndef _ASSERT_H_DECLS
++#define _ASSERT_H_DECLS
+ __BEGIN_DECLS
+
+ /* This prints an "Assertion failed" message and aborts. */
+@@ -83,6 +85,7 @@
+
+
+ __END_DECLS
++#endif /* Not _ASSERT_H_DECLS */
+
+ # define assert(expr) \
+ (__ASSERT_VOID_CAST ((expr) ? 0 : \