Use the following define before `#include <windows.h>` to avoid build errors on Windows using Visual Studio: ``` #define NOMINMAX ``` More info [here](https://stackoverflow.com/a/7035078/1892346). P.S. I'm using _single_include_ version.