1
0
Fork 0

windows news special care for std::min

This commit is contained in:
Frank Celler 2017-10-03 23:15:25 +02:00
parent f9cc8543a3
commit d303c81b4b
1 changed files with 5 additions and 0 deletions

View File

@ -85,11 +85,16 @@
*/
#ifdef _WIN32
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <conio.h>
#include <windows.h>
#include <io.h>
#include <algorithm>
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf // Microsoft headers use underscores in some names
#endif