Move NOMINMAX to configure/CONFIG_SITE
The macro must be defined before MS system headers are included. This rev. remove #define NOMINMAX from public headers, but no public headers use min()/max() and this was never the correct way to use this macro as by convention library headers are included after system headers, which is too late to have an effect.
This commit is contained in:
1 parent
997e68c99a
commit
f1553cc90e
11 files changed
+3
-40
No files matched your search
@@ -5,10 +5,6 @@
|
||||
*/
|
||||
/* Author: Matej Sekoranja Date: 2010.10.18 */
|
||||
|
||||
#if defined(_WIN32) && !defined(NOMINMAX)
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <stddef.h>
|
||||
|
||||
Reference in new issue
Block a user