dougbinks / enkiTS

A permissively licensed C and C++ Task Scheduler for creating parallel programs. Requires C++11 support.
zlib License
1.66k stars 138 forks source link

Macro redefinition for WIN32_LEAN_AND_MEAN #100

Closed BobbyAnguelov closed 11 months ago

BobbyAnguelov commented 11 months ago

Ln 50 in TaskScheduler.cpp assumes that the 'WIN32_LEAN_AND_MEAN' and the 'NOMINMAX' macros are not previously defined.

It should read:

#ifndef WIN32_LEAN_AND_MEAN
    #define WIN32_LEAN_AND_MEAN
#endif

#ifndef NOMINMAX
    #define NOMINMAX
#endif
dougbinks commented 11 months ago

Good catch. Fix on it's way, thanks!