#include <stdio.h>
#include <stdarg.h>
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
#ifndef GEDCOM_INTERNAL
#include <gedcom-tags.h>
int gedcom_message(const char* s, ...);
int gedcom_debug_print(const char* s, ...);
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
#endif /* __GEDCOM_H */