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
@@ -10,7 +10,7 @@
|
||||
* Author: Miha Vitorovic
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) && !defined(NOMINMAX)
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user