summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.3.2/glibc23-asserth-decls.patch
blob: f5791608fdd45cb7d2cc3dc0f698a851c53d9540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 :					      \