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:
parent
6d0679b9e9
commit
8fb82584b1
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user