From 623bdb6298f89a46dd34899dfeb7d667043faa7b Mon Sep 17 00:00:00 2001 From: zedamota Date: Thu, 3 Mar 2011 21:14:56 +0000 Subject: [PATCH] OP GCS/HID - small fix git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2956 ebee16cc-31ac-478f-84a7-5cbb03baadba --- ground/openpilotgcs/src/plugins/rawhid/pjrc_rawhid.h | 3 --- ground/openpilotgcs/src/plugins/rawhid/usbmonitor.h | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/rawhid/pjrc_rawhid.h b/ground/openpilotgcs/src/plugins/rawhid/pjrc_rawhid.h index e5381e356..b8e2459a2 100644 --- a/ground/openpilotgcs/src/plugins/rawhid/pjrc_rawhid.h +++ b/ground/openpilotgcs/src/plugins/rawhid/pjrc_rawhid.h @@ -45,9 +45,6 @@ #include #include #elif defined(Q_OS_WIN32) -#define _WIN32_WINNT 0x0500 -#define _WIN32_WINDOWS 0x0500 -#define WINVER 0x0500 #include #include #include diff --git a/ground/openpilotgcs/src/plugins/rawhid/usbmonitor.h b/ground/openpilotgcs/src/plugins/rawhid/usbmonitor.h index 4bb7e8a3c..52db0c742 100644 --- a/ground/openpilotgcs/src/plugins/rawhid/usbmonitor.h +++ b/ground/openpilotgcs/src/plugins/rawhid/usbmonitor.h @@ -52,7 +52,9 @@ struct USBPortInfo { #include #elif defined (Q_OS_WIN32) - +#define _WIN32_WINNT 0x0500 +#define _WIN32_WINDOWS 0x0500 +#define WINVER 0x0500 #include #include #include