Prevent redefinition of NOMINMAX
While this protection is not strictly necessary here, if someone does a cut-and-paste into a header file it should be included.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* testCodec.cpp
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) && !defined(NOMINMAX)
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user