--- a/libpurple/win32/win32dep.h Mon Mar 24 07:14:29 2008 +0000 +++ b/libpurple/win32/win32dep.h Mon Mar 24 16:11:21 2008 +0000 @@ -28,10 +28,12 @@ #include "wpurpleerror.h" #include "libc_interface.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* rpcndr.h defines small as char, causing problems, so we need to undefine it */ -#ifdef _WIN32 #undef small -#endif /* * PROTOS @@ -50,7 +52,7 @@ gboolean wpurple_check_for_proxy_changes(void); /* Determine Purple paths */ -char *wpurple_get_special_folder(int folder_type); /* needs to be g_free'd */ +gchar *wpurple_get_special_folder(int folder_type); /* needs to be g_free'd */ const char *wpurple_install_dir(void); const char *wpurple_lib_dir(void); const char *wpurple_locale_dir(void); @@ -73,5 +75,9 @@ #define LIBDIR wpurple_lib_dir() #define LOCALEDIR wpurple_locale_dir() +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _WIN32DEP_H_ */