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:
1 parent
8d7f534d54
commit
2ee8769752
3 files changed
+3
-3
No files matched your search
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
/* Author: Matej Sekoranja Date: 2010.10.18 */
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) && !defined(NOMINMAX)
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user