mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 06:09:00 +08:00
12 lines
304 B
Diff
12 lines
304 B
Diff
--- a/metis/GKlib/gk_arch.h Wed Dec 21 18:34:18 2016
|
|
+++ b/metis/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))
|
|
|