diff lwlib/lwlib-internal.h @ 1650:34abfb24e891

[xemacs-hg @ 2003-08-28 15:44:04 by james] Fix the C++ build, with many module-specific fixes.
author james
date Thu, 28 Aug 2003 15:44:30 +0000
parents 943eaba38521
children facf3239ba30
line wrap: on
line diff
--- a/lwlib/lwlib-internal.h	Wed Aug 27 21:52:30 2003 +0000
+++ b/lwlib/lwlib-internal.h	Thu Aug 28 15:44:30 2003 +0000
@@ -6,7 +6,7 @@
 #ifdef USE_ASSERTIONS
 /* Highly dubious kludge */
 /*   (thanks, Jamie, I feel better now -- ben) */
-void assert_failed (const char *, int, const char *);
+EXTERN_C void assert_failed (const char *, int, const char *);
 # define abort() (assert_failed (__FILE__, __LINE__, "abort()"))
 # define assert(x) ((x) ? 1 : (assert_failed (__FILE__, __LINE__, #x), 0))
 #else