p-ranav / indicators

Activity Indicators for Modern C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#define NOMINMAX

tgalaj opened this issue · comments

Use the following define before #include <windows.h> to avoid build errors on Windows using Visual Studio:

#define NOMINMAX

More info here.

P.S.
I'm using single_include version.

It's already defined. See here. Are you having build issues?

Yes, I had build issues. I defined NOMINMAX before line 55 and now it builds perfectly.