From: ehofman Date: Fri, 1 May 2009 08:05:37 +0000 (+0000) Subject: allow C++ to include the header X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fd2361ef5533b0f2cde292c606f0a51ac1eed797;p=flightgear.git allow C++ to include the header --- diff --git a/utils/xmlgrep/xml.h b/utils/xmlgrep/xml.h index a94bb6c18..26c55098f 100644 --- a/utils/xmlgrep/xml.h +++ b/utils/xmlgrep/xml.h @@ -28,6 +28,10 @@ #ifndef __XML_CONFIG #define __XML_CONFIG 1 +#ifdef __cplusplus +extern "C" { +#endif + enum { XML_NO_ERROR = 0, @@ -359,5 +363,9 @@ size_t xmlErrorGetColumnNo(const void *, int); const char *xmlErrorGetString(const void *, int); #endif +#ifdef __cplusplus +} +#endif + #endif /* __XML_CONFIG */