[Bug 43986] Wocky fails to cross compile with mingw32
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 21 16:06:25 CET 2011
https://bugs.freedesktop.org/show_bug.cgi?id=43986
Jonny Lamb <jonny.lamb at collabora.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #2 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2011-12-21 07:06:25 PST ---
It seems the nicest way to check the OS in a GLib app/library is to use
something like:
#ifdef G_OS_WIN32
foo;
#else
bar;
#endif
wocky-openssl.c already does this. For consistency could you do this too
please? I'm not sure you need the AC_CHECK_HEADERS then.
+#if defined (__WIN32__)
^ same thing.
The rest looks reasonable.
--
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