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:
@@ -3,7 +3,8 @@
|
||||
* pvAccessCPP is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#ifdef _WIN32
|
||||
|
||||
#if defined(_WIN32) && !defined(NOMINMAX)
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user