From f44f6b4200770a0ef44f1ab759559d26e9f10100 Mon Sep 17 00:00:00 2001 From: Karl Waclawek Date: Tue, 10 Aug 2004 17:34:19 +0000 Subject: [PATCH] Fix for bug #1006708. --- expat/lib/expat.h | 4 ++++ expat/lib/expat_external.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/expat/lib/expat.h b/expat/lib/expat.h index cb07c1c9..bf1e9a82 100644 --- a/expat/lib/expat.h +++ b/expat/lib/expat.h @@ -17,6 +17,10 @@ #include #include "expat_external.h" +#ifdef __cplusplus +extern "C" { +#endif + struct XML_ParserStruct; typedef struct XML_ParserStruct *XML_Parser; diff --git a/expat/lib/expat_external.h b/expat/lib/expat_external.h index 4145caca..59eff581 100644 --- a/expat/lib/expat_external.h +++ b/expat/lib/expat_external.h @@ -90,3 +90,7 @@ typedef char XML_LChar; typedef char XML_Char; typedef char XML_LChar; #endif /* XML_UNICODE */ + +#ifdef __cplusplus +} +#endif -- 2.40.0