dbus/cmake
Simon McVittie 3b9c2817e9 dbus-sysdeps-win: don't include wspiapi.h
This block provoked a warning on mingw-w64 because we were redefining
_inline. According to Ralf's research, it was introduced in 452ff68a:
Windows 2000 doesn't have getaddrinfo and related functions in
ws2tcpip.h, but does have a shim implementation in wspiapi.h.

At the time of 452ff68a, mingw32 didn't have wspiapi.h, so it's unclear
why there was a __GNUC__ code path here. The "#define _inline" on that
code path looks likely to be some sort of workaround for a faulty version
of wspiapi.h? Current mingw-w64 does have wspiapi.h, so we enter the
__GNUC__ code path and get the redefinition.

dbus no longer supports Windows 2000, so we no longer need wspiapi.h
at all, and can rely on XP or later. (Ralf's policy is to only support
versions of Windows that are still supported by Microsoft, and Windows 2000
reached the end of its life-cycle in 2010.)

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852
Reviewed-by: Ralf Habacker
2013-09-16 12:35:35 +01:00
..
bus tests to embedded tests: replaced in cmake files 2013-06-28 12:18:32 +01:00
dbus Revert "Factor out DBusAuthorization from DBusTransport" 2013-08-23 11:10:41 +01:00
doc Use Doxyfile.in for cmake build system too. 2013-06-24 14:39:01 +02:00
modules Generate autotools provided PACKAGE_.. and VERSION defines by a cmake macro. 2013-08-28 14:50:57 +02:00
test Tests: allow dbus-glib to be replaced with use of libdbus-internal 2013-09-03 12:00:51 +01:00
tools Moved docbook sources used by cmake into doc subdir and adapted cmake build system. 2013-02-14 13:27:22 +00:00
bus-test.bat.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
CMakeLists.txt Tests: allow dbus-glib to be replaced with use of libdbus-internal 2013-09-03 12:00:51 +01:00
config.h.cmake dbus-sysdeps-win: don't include wspiapi.h 2013-09-16 12:35:35 +01:00
ConfigureChecks.cmake dbus-sysdeps-win: don't include wspiapi.h 2013-09-16 12:35:35 +01:00
dbus-env.bat.cmake Split DBUS_SESSION_BUS_DEFAULT_ADDRESS into listen, connect addresses and set better defaults 2012-08-13 19:57:13 +01:00