Fixed min/max related compile error on Windows.

This commit is contained in:
David Williams 2015-02-08 12:41:53 +01:00
parent d79ac03fb6
commit d875ff33ce

View File

@ -27,6 +27,7 @@ freely, subject to the following restrictions:
#include <cstdint>
#ifdef _MSC_VER // Don't worry about the exact version, as long as this is defied.
#define NOMINMAX
#include <Windows.h>
#else
#include <chrono>