Browse Source

Fix C++ support

Eric Andersen 22 years ago
parent
commit
3710c5b331
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/assert.h

+ 2 - 0
include/assert.h

@@ -33,7 +33,9 @@
 
 #else /* Not NDEBUG.  */
 
+__BEGIN_DECLS
 extern void __assert __P((const char *, const char *, int, const char *));
+__END_DECLS
 
 #define	assert(expr)							      \
   ((void) ((expr) ||							      \