moved fix with "NOMINMAX" in the project file
This commit is contained in:
parent
0b54e813ff
commit
2b5297fcdc
3 changed files with 1 additions and 2 deletions
|
@ -14,6 +14,7 @@ DEFINES += USE_ALLOCA \
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
DEFINES -= UNICODE
|
DEFINES -= UNICODE
|
||||||
|
DEFINES += NOMINMAX # solves a compiler error in qdatetime.h (Qt5)
|
||||||
HEADERS += windows/sound.h
|
HEADERS += windows/sound.h
|
||||||
SOURCES += windows/sound.cpp \
|
SOURCES += windows/sound.cpp \
|
||||||
windows/ASIOSDK2/common/asio.cpp \
|
windows/ASIOSDK2/common/asio.cpp \
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
using namespace std; // because of the library: "vector"
|
using namespace std; // because of the library: "vector"
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# define NOMINMAX // solves a compiler error in qdatetime.h (Qt5)
|
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# include <mmsystem.h>
|
# include <mmsystem.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#if !defined ( _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_ )
|
#if !defined ( _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_ )
|
||||||
#define _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_
|
#define _SOUNDIN_H__9518A621_7F78_11D3_8C0D_EEBF182CF549__INCLUDED_
|
||||||
|
|
||||||
#define NOMINMAX // solves a compiler error in qdatetime.h (Qt5)
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <QMutex>
|
#include <QMutex>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
Loading…
Reference in a new issue