mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-29 15:32:01 +00:00
Add extern "C" to rxml.h for C++ builds
This commit is contained in:
parent
d0c4de9635
commit
88fb441bdd
@ -16,6 +16,10 @@
|
||||
#ifndef RXML_H__
|
||||
#define RXML_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Total NIH. Very trivial "XML" implementation for use in RetroArch.
|
||||
// Error checking is minimal. Invalid documents may lead to very buggy behavior, but
|
||||
// memory corruption should never happen.
|
||||
@ -73,5 +77,9 @@ typedef rxml_document_t *xmlDocPtr;
|
||||
#define xmlFreeParserCtxt(ctx) ((void)0)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user