[Bug 44326] Make gabble cross-compile with mingw32

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 30 21:34:15 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=44326

Siraj Razick <siraj.razick at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://cgit.collabora.com/g
                   |                            |it/user/siraj/telepathy-gab
                   |                            |ble.git/log/?h=mingw32-comp
                   |                            |ile-fix

--- Comment #1 from Siraj Razick <siraj.razick at collabora.co.uk> 2011-12-30 12:34:15 PST ---
patch attached:

1.) index is replaced with strchr since index is deprecated
 and not included in mingw32 sdk

2.) -D_WIN32_WINNT=0x0501 is defined to make  getnameinfo work 

3.) errorno is globally defined in mingw32 sdk so it was renamed to errornum

4.) platform specific format tags had to be added since they differ (so it even
compiles with -Werror) 
   a.) http://msdn.microsoft.com/en-us/library/fe06s4ak(v=vs.80).aspx
   b.) http://msdn.microsoft.com/en-us/library/tcxf1dw6.aspx (ssize_t)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list