Skip to content

Commit

Permalink
fix qextserial in mingw?
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14333 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Oct 5, 2010
1 parent bc1966b commit 0554824
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/gps/qextserialport/qextserialenumerator.h
Expand Up @@ -7,12 +7,16 @@
#ifndef _QEXTSERIALENUMERATOR_H_
#define _QEXTSERIALENUMERATOR_H_


#include <QString>
#include <QList>
#include <QObject>

#ifdef Q_OS_WIN
#ifdef __MINGW32__
#define _WIN32_WINNT 0x0500
#define _WIN32_WINDOWS 0x0500
#define WINVER 0x0500
#endif
#include <windows.h>
#include <setupapi.h>
#include <dbt.h>
Expand Down

0 comments on commit 0554824

Please sign in to comment.