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 {
|
||||
DEFINES -= UNICODE
|
||||
DEFINES += NOMINMAX # solves a compiler error in qdatetime.h (Qt5)
|
||||
HEADERS += windows/sound.h
|
||||
SOURCES += windows/sound.cpp \
|
||||
windows/ASIOSDK2/common/asio.cpp \
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include "global.h"
|
||||
using namespace std; // because of the library: "vector"
|
||||
#ifdef _WIN32
|
||||
# define NOMINMAX // solves a compiler error in qdatetime.h (Qt5)
|
||||
# include <windows.h>
|
||||
# include <mmsystem.h>
|
||||
#endif
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#if !defined ( _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 <QMutex>
|
||||
#include <QMessageBox>
|
||||
|
|
Loading…
Reference in a new issue