summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glibc/glibc-2.3.2/glibc23-asserth-decls.patch')
-rw-r--r--recipes/glibc/glibc-2.3.2/glibc23-asserth-decls.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.3.2/glibc23-asserth-decls.patch b/recipes/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
new file mode 100644
index 0000000000..f5791608fd
--- /dev/null
+++ b/recipes/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 : \