mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 16:59:08 +08:00
3e93bb69a1
* [coolprop] Cleanup * Fix uwp * [refprop-headers] Update * [if97] Avoid encoding warnings * [msgpack] More boost dependencies Cf. https://github.com/msgpack/msgpack-c/wiki/install_boost * [coolprop] Use msgpack endianess --------- Co-authored-by: Cheney-Wang <850426846@qq.com>
26 lines
788 B
Diff
26 lines
788 B
Diff
diff --git a/include/CPmsgpack.h b/include/CPmsgpack.h
|
|
index e11f6be..948cc65 100644
|
|
--- a/include/CPmsgpack.h
|
|
+++ b/include/CPmsgpack.h
|
|
@@ -6,7 +6,6 @@
|
|
|
|
// Workaround MSVC endiannes issues
|
|
#if defined(_MSC_VER) && ( defined(_M_ARM) || defined(_M_ARM64) )
|
|
-# define MSGPACK_ENDIAN_LITTLE_BYTE
|
|
#endif
|
|
|
|
#include "msgpack.hpp"
|
|
diff --git a/src/ODEIntegrators.cpp b/src/ODEIntegrators.cpp
|
|
index 23bd4c4..beab710 100644
|
|
--- a/src/ODEIntegrators.cpp
|
|
+++ b/src/ODEIntegrators.cpp
|
|
@@ -4,6 +4,8 @@
|
|
#include "CPstrings.h"
|
|
#include "Exceptions.h"
|
|
#include <algorithm>
|
|
+#undef max
|
|
+#undef min
|
|
|
|
bool ODEIntegrators::AdaptiveRK54(AbstractODEIntegrator& ode, double tstart, double tend, double hmin, double hmax, double eps_allowed,
|
|
double step_relax) {
|