Mercurial > pidgin.yaz
changeset 31837:0efc07144f2f
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
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 16 Mar 2011 01:46:12 +0000 |
parents | 9710b3226f11 |
children | 380314aa5c1b |
files | libpurple/protocols/gg/lib/libgadu.h |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/gg/lib/libgadu.h Tue Mar 15 04:36:30 2011 +0000 +++ b/libpurple/protocols/gg/lib/libgadu.h Wed Mar 16 01:46:12 2011 +0000 @@ -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 @@ #ifdef __cplusplus } +#endif + #ifdef _WIN32 #pragma pack(pop) #endif -#endif #endif /* __GG_LIBGADU_H */