]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/metis/fix-gklib-vs14-math.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / metis / fix-gklib-vs14-math.patch
CommitLineData
1e59de90
TL
1--- a/GKlib/gk_arch.h Wed Dec 21 18:34:18 2016
2+++ b/GKlib/gk_arch.h Wed Dec 21 18:30:49 2016
3@@ -58,7 +58,7 @@
4 #define PTRDIFF_MAX INT64_MAX
5 #endif
6
7-#ifdef __MSC__
8+#if defined(__MSC__) && (_MSC_VER < 1900)
9 /* MSC does not have rint() function */
10 #define rint(x) ((int)((x)+0.5))
11