summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2013-04-01 22:00:59 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-04-01 22:00:59 +1100
commit932c7ba26ca0bf96b65a085f352e95995c50242f (patch)
treee19b35d535d30b9c3ee49634567d7bc83df6e807 /include
parent36c1f085644529e3943c62e8c0324394457c8e6e (diff)
downloadflac-932c7ba26ca0bf96b65a085f352e95995c50242f.tar.gz
Purge more strcpy/strcat usage.
Diffstat (limited to 'include')
-rw-r--r--include/share/compat.h7
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 */