changeset 14925:8d9a473bbab9

[gaim-migrate @ 17697] wrap functions in extern "C" on when compiling using a C++ compiler committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 07 Nov 2006 19:54:02 +0000
parents 71c764f2b1a6
children 500a8f54354e
files libgaim/savedstatuses.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/savedstatuses.h	Tue Nov 07 17:52:01 2006 +0000
+++ b/libgaim/savedstatuses.h	Tue Nov 07 19:54:02 2006 +0000
@@ -58,6 +58,10 @@
 
 #include "status.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**************************************************************************/
 /** @name Saved status subsystem                                          */
 /**************************************************************************/
@@ -405,4 +409,8 @@
 
 /*@}*/
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _GAIM_SAVEDSTATUSES_H_ */