Remove "extern C", use C++ linking

This commit is contained in:
Konstantin Olchanski 2019-06-17 17:34:16 -07:00
parent d38f63e76d
commit 2c3833710a

9
mxml.h
View File

@ -78,11 +78,6 @@ typedef struct mxml_struct {
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
/* make functions callable from a C++ program */
#ifdef __cplusplus
extern "C" {
#endif
#ifndef EXPRT #ifndef EXPRT
#if defined(EXPORT_DLL) #if defined(EXPORT_DLL)
#define EXPRT __declspec(dllexport) #define EXPRT __declspec(dllexport)
@ -148,9 +143,5 @@ void mxml_free_tree(PMXML_NODE tree);
void mxml_dirname(char* path); void mxml_dirname(char* path);
void mxml_basename(char *path); void mxml_basename(char *path);
#ifdef __cplusplus
}
#endif
#endif /* _MXML_H_ */ #endif /* _MXML_H_ */
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/