--- a/libpurple/win32/win32dep.h Thu Oct 26 22:42:30 2023 -0500
+++ b/libpurple/win32/win32dep.h Thu Oct 26 22:45:14 2023 -0500
@@ -29,6 +29,8 @@
#include "libc_interface.h"
+#include "purpleversion.h" /* rpcndr.h defines small as char, causing problems, so we need to undefine it */
@@ -42,20 +44,32 @@
/* Windows helper functions */
FARPROC wpurple_find_and_loadproc(const char *dllname, const char *procedure);
+/* Determine Purple paths */ +gchar *wpurple_get_special_folder(int folder_type); /* needs to be g_free'd */ +const char *wpurple_bin_dir(void); +const char *wpurple_data_dir(void); +const char *wpurple_lib_dir(const char *subdir); +const char *wpurple_locale_dir(void); +const char *wpurple_home_dir(void); +const char *wpurple_sysconf_dir(void); + * The following API is private. /* Simulate unix pipes by creating a pair of connected sockets */
int wpurple_input_pipe(int pipefd[2]);
-/* Determine Purple paths */
-gchar *wpurple_get_special_folder(int folder_type); /* needs to be g_free'd */
-const char *wpurple_bin_dir(void);
-const char *wpurple_data_dir(void);
-const char *wpurple_lib_dir(const char *subdir);
-const char *wpurple_locale_dir(void);
-const char *wpurple_home_dir(void);
-const char *wpurple_sysconf_dir(void);
void wpurple_cleanup(void);