Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Kent <wjk@users.noreply.github.com>2017-08-25 20:13:17 +0300
committerJan Kotas <jkotas@microsoft.com>2017-08-25 20:13:17 +0300
commitb78e63acf1b6d4a7580419666715249820ba79bf (patch)
tree6a4835b8809d640aab404578d9cf67f584caad23 /src/Native/Runtime/MathHelpers.cpp
parenta63d71732d2e6d32ab6e5cb8d721aed13e87d120 (diff)
Fix compilation with Xcode 9 (#4383)
Diffstat (limited to 'src/Native/Runtime/MathHelpers.cpp')
-rw-r--r--src/Native/Runtime/MathHelpers.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Native/Runtime/MathHelpers.cpp b/src/Native/Runtime/MathHelpers.cpp
index 2e4cfb1b9..e299c26bb 100644
--- a/src/Native/Runtime/MathHelpers.cpp
+++ b/src/Native/Runtime/MathHelpers.cpp
@@ -17,6 +17,8 @@ EXTERN_C REDHAWK_API UInt64 REDHAWK_CALLCONV RhpDbl2ULng(double val)
// CORERT Specific - on Project N the arguments to these helpers are inverted
#ifdef CORERT
+#undef min
+#undef max
#include <cmath>
EXTERN_C REDHAWK_API float REDHAWK_CALLCONV RhpFltRem(float dividend, float divisor)