]> granicus.if.org Git - libexpat/commitdiff
Fix for bug #1006708.
authorKarl Waclawek <kwaclaw@users.sourceforge.net>
Tue, 10 Aug 2004 17:34:19 +0000 (17:34 +0000)
committerKarl Waclawek <kwaclaw@users.sourceforge.net>
Tue, 10 Aug 2004 17:34:19 +0000 (17:34 +0000)
expat/lib/expat.h
expat/lib/expat_external.h

index cb07c1c92e8b522eef5173caf56a10d3bb617c37..bf1e9a82cf0f8786f0ed5c6dd25559adcc64c127 100644 (file)
 #include <stdlib.h>
 #include "expat_external.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct XML_ParserStruct;
 typedef struct XML_ParserStruct *XML_Parser;
 
index 4145cacacdfb4fc033e256a9e6f665dbce4ddac3..59eff5814bfa1a3614c7f9c7852a96062f5d5a62 100644 (file)
@@ -90,3 +90,7 @@ typedef char XML_LChar;
 typedef char XML_Char;
 typedef char XML_LChar;
 #endif /* XML_UNICODE */
+
+#ifdef __cplusplus
+}
+#endif