---
src/eb.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/eb.h b/src/eb.h
index 03cda4e..c5f2098 100644
--- a/src/eb.h
+++ b/src/eb.h
@@ -5,7 +5,10 @@
#ifndef EB_H
#define EB_H 1
-
+/* needed when compiling under c++ */
+#ifdef __cplusplus
+extern "C" {
+#endif
/* the symbol DOSLIKE is used to conditionally compile those constructs
* that are common to DOS and NT, but not typical of Unix. */
#ifdef MSDOS
@@ -377,4 +380,7 @@ extern void *jdoc; /* javascript document object */
/* Symbolic constants for language independent messages */
#include "messages.h"
+#ifdef __cplusplus
+}
+#endif
#endif
--
1.8.5.2.297.g3e57c29
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev