early-access version 2853
This commit is contained in:
11
externals/vcpkg/ports/metis/fix-gklib-vs14-math.patch
vendored
Executable file
11
externals/vcpkg/ports/metis/fix-gklib-vs14-math.patch
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
--- a/GKlib/gk_arch.h Wed Dec 21 18:34:18 2016
|
||||
+++ b/GKlib/gk_arch.h Wed Dec 21 18:30:49 2016
|
||||
@@ -58,7 +58,7 @@
|
||||
#define PTRDIFF_MAX INT64_MAX
|
||||
#endif
|
||||
|
||||
-#ifdef __MSC__
|
||||
+#if defined(__MSC__) && (_MSC_VER < 1900)
|
||||
/* MSC does not have rint() function */
|
||||
#define rint(x) ((int)((x)+0.5))
|
||||
|
Reference in New Issue
Block a user