diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-04-01 22:00:59 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-04-01 22:00:59 +1100 |
commit | 932c7ba26ca0bf96b65a085f352e95995c50242f (patch) | |
tree | e19b35d535d30b9c3ee49634567d7bc83df6e807 /include | |
parent | 36c1f085644529e3943c62e8c0324394457c8e6e (diff) | |
download | flac-932c7ba26ca0bf96b65a085f352e95995c50242f.tar.gz |
Purge more strcpy/strcat usage.
Diffstat (limited to 'include')
-rw-r--r-- | include/share/compat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/share/compat.h b/include/share/compat.h index cf83bfe5..98eec559 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -189,7 +189,12 @@ * * This function wraps the MS version to behave more like the the ISO version. */ - +#ifdef __cplusplus +extern "C" { +#endif int flac_snprintf(char *str, size_t size, const char *fmt, ...); +#ifdef __cplusplus +}; +#endif #endif /* FLAC__SHARE__COMPAT_H */ |