Skip to content

Commit 9b3db76

Browse files
author
jef
committed
fix qextserial in mingw?
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14333 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1b645a3 commit 9b3db76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/core/gps/qextserialport/qextserialenumerator.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@
77
#ifndef _QEXTSERIALENUMERATOR_H_
88
#define _QEXTSERIALENUMERATOR_H_
99

10-
1110
#include <QString>
1211
#include <QList>
1312
#include <QObject>
1413

1514
#ifdef Q_OS_WIN
15+
#ifdef __MINGW32__
16+
#define _WIN32_WINNT 0x0500
17+
#define _WIN32_WINDOWS 0x0500
18+
#define WINVER 0x0500
19+
#endif
1620
#include <windows.h>
1721
#include <setupapi.h>
1822
#include <dbt.h>

0 commit comments

Comments
 (0)