Summary
Issue with redefinition of WIN32_LEAN_AND_MEAN within include/oneapi/tbb/detail/_machine.h
Environment
Occurs on Windows
Observed Behavior
Compilation failure on windows of a redefinition of the WIN32_LEAN_AND_MEAN macro
Expected Behavior
I expect this not to occur if I have defined the macro elsewhere in my source code.
I have verified that changing:
|
#define WIN32_LEAN_AND_MEAN |
to
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
solves the problem