winks: Port to MSVC and pretend to be Windows XP
authorNirbheek Chauhan <nirbheek@centricular.com>
Tue, 24 May 2016 10:56:24 +0000 (16:26 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 21 Jun 2016 10:32:29 +0000 (11:32 +0100)
commit28f0df681c9a016fa847c92b8b7986f66ea5fc85
tree64385588c4f847950d3c5c76f987c43d2f897d55
parenta2cd9b0f0c49cb11c513bbfef97a356f3daaf9f8
winks: Port to MSVC and pretend to be Windows XP

strcasecmp is not defined on MSVC, so just use the glib wrapper. Also pretend to
be Windows XP explicitly since the API we use was deprecated and removed
(ifdef-ed) from the SDK after this version of Windows. This will be especially
relevant once we stop supporting Windows XP soon:

https://bugzilla.gnome.org/show_bug.cgi?id=756866
sys/winks/ksdeviceprovider.c
sys/winks/kshelpers.c
sys/winks/kshelpers.h