mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:10:37 +02:00
added NOMINMAX before things that possibly include windows.h
This commit is contained in:
parent
ac97f129d3
commit
7848d065bc
2 changed files with 70 additions and 66 deletions
|
@ -6,14 +6,17 @@
|
|||
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#ifdef _WIN32
|
||||
#define NOMINMAX // this is required as long as we have civetweb because it includes windows.h, this also must be before QTimer
|
||||
#endif
|
||||
#include "civetweb.h"
|
||||
|
||||
#include <QtCore/QTimer>
|
||||
#include <QtCore/QUuid>
|
||||
|
||||
#include <Logging.h>
|
||||
#include <UUID.h>
|
||||
|
||||
#include "civetweb.h"
|
||||
|
||||
#include "OctreeServer.h"
|
||||
#include "OctreeServerConsts.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#ifdef _WIN32
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#define _timeval_
|
||||
#include "Systime.h"
|
||||
|
|
Loading…
Reference in a new issue