pidgin: 34621a97: Hopefully fix some long-running issues w...
datallah at pidgin.im
datallah at pidgin.im
Tue Mar 15 21:50:51 EDT 2011
----------------------------------------------------------------------
Revision: 34621a972a410e8b184e161a071d3e957a57ba28
Parent: 1c4b6bd5d1b5b04e258fc92043b11cdfa4f17a03
Author: datallah at pidgin.im
Date: 03/15/11 21:46:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/34621a972a410e8b184e161a071d3e957a57ba28
Changelog:
Hopefully fix some long-running issues with some Gadu-Gadu functionality not
working on Windows.
This fixes the struct packing to match what libgadu expects it to be.
Big thanks goes to "matekm" for figuring out what the problem was and testing.
(hopefully) Fixes #11958, #6297
Changes against parent 1c4b6bd5d1b5b04e258fc92043b11cdfa4f17a03
patched libpurple/protocols/gg/lib/libgadu.h
-------------- next part --------------
============================================================
--- libpurple/protocols/gg/lib/libgadu.h 7cf6563262949ccbe810f4999d549eff7bf9c95e
+++ libpurple/protocols/gg/lib/libgadu.h f6d1218a8050cbbeebdde36e913589e2446ad2cb
@@ -33,10 +33,11 @@
#ifndef __GG_LIBGADU_H
#define __GG_LIBGADU_H
-#ifdef __cplusplus
#ifdef _WIN32
#pragma pack(push, 1)
#endif
+
+#ifdef __cplusplus
extern "C" {
#endif
@@ -2056,10 +2057,11 @@ struct gg_dcc7_dunno1 {
#ifdef __cplusplus
}
+#endif
+
#ifdef _WIN32
#pragma pack(pop)
#endif
-#endif
#endif /* __GG_LIBGADU_H */
More information about the Commits
mailing list