Windows: fix broken WDK compilation for XP targets
authorPete Batard <pete@akeo.ie>
Tue, 20 May 2014 19:42:54 +0000 (20:42 +0100)
committerPete Batard <pete@akeo.ie>
Tue, 20 May 2014 19:42:54 +0000 (20:42 +0100)
commit6d5e7ec80045f1af400e7a84ec2ad7630573ce96
tree0df722e521bfee79869b051e9398d84290d07180
parent5e77b8838b2a7d3a850ae6e532727fcf5dbaef1e
Windows: fix broken WDK compilation for XP targets

* On XP environments, the call to GetSystemMetrics() fails without an explicit reference to user.lib...
  which end user applications would also need to do.
  Considering that this call was just to differentiate Windows 2003 from 2003 R2, just remove it.
libusb/os/windows_usb.c
libusb/version_nano.h