1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-17 02:52:12 +01:00

removed some redefined warnings in windows

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2976 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
sambas 2011-03-05 13:51:29 +00:00 committed by sambas
parent 6d0679b9e9
commit 8fb82584b1

View File

@ -57,9 +57,15 @@ struct USBPortInfo {
#include <QSocketNotifier>
#elif defined (Q_OS_WIN32)
#define _WIN32_WINNT 0x0500
#define _WIN32_WINDOWS 0x0500
#define WINVER 0x0500
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
#endif
#ifndef _WIN32_WINDOWS
#define _WIN32_WINDOWS 0x0500
#endif
#ifndef WINVER
#define WINVER 0x0500
#endif
#include <windows.h>
#include <dbt.h>
#include <setupapi.h>