summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/glibc/glibc-2.3.2/glibc23-asserth-decls.patch')
-rw-r--r--packages/glibc/glibc-2.3.2/glibc23-asserth-decls.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.3.2/glibc23-asserth-decls.patch b/packages/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
index e69de29bb2..f5791608fd 100644
--- a/packages/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
+++ b/packages/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 : \