mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-30 08:18:18 -05:00
Undefine min and max macros. Thanks for nothing MS
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -5,10 +5,17 @@
|
||||
#define _CRTDBG_MAP_ALLOC
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#include <crtdbg.h>
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(__ISWINDOWS__)
|
||||
#include <windows.h>
|
||||
#ifdef min
|
||||
#undef min
|
||||
#endif
|
||||
#ifdef max
|
||||
#undef max
|
||||
#endif
|
||||
#else
|
||||
#ifndef DBL_EPSILON
|
||||
#include <limits>
|
||||
|
||||
Reference in New Issue
Block a user