mirror of https://gitee.com/bigwinds/arangodb
windows news special care for std::min
This commit is contained in:
parent
f9cc8543a3
commit
d303c81b4b
|
@ -85,11 +85,16 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#ifndef NOMINMAX
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <conio.h>
|
#include <conio.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||||
#define snprintf _snprintf // Microsoft headers use underscores in some names
|
#define snprintf _snprintf // Microsoft headers use underscores in some names
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue