]> git.mxchange.org Git - flightgear.git/commitdiff
allow C++ to include the header
authorehofman <ehofman>
Fri, 1 May 2009 08:05:37 +0000 (08:05 +0000)
committerTim Moore <timoore@redhat.com>
Fri, 1 May 2009 22:44:22 +0000 (00:44 +0200)
utils/xmlgrep/xml.h

index a94bb6c184bbaab2915064acaef885123e36bef4..26c55098fa147dc379d43364e4bfbaeb677cedc6 100644 (file)
 #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 */