X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=include%2Fgedcom.h.in;h=263f9fba4d34055f46943ab1b3088e571bb4769b;hb=201d47019dcd117e5203f0d3ae15fc95b263b2dd;hp=6482c97edfe337a568e4b7c6143949c492faa431;hpb=0dfc7e7f21a7dcb0087b7ddebae1cc36768f3851;p=gedcom-parse.git diff --git a/include/gedcom.h.in b/include/gedcom.h.in index 6482c97..263f9fb 100644 --- a/include/gedcom.h.in +++ b/include/gedcom.h.in @@ -27,7 +27,9 @@ #include #include -__BEGIN_DECLS +#ifdef __cplusplus +extern "C" { +#endif #ifndef GEDCOM_INTERNAL #include @@ -504,6 +506,8 @@ int gedcom_warning(const char* s, ...); int gedcom_message(const char* s, ...); int gedcom_debug_print(const char* s, ...); -__END_DECLS +#ifdef __cplusplus +} +#endif #endif /* __GEDCOM_H */