]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/tinyexpr/fix-issue-34.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / tinyexpr / fix-issue-34.patch
1 diff --git a/tinyexpr.c b/tinyexpr.c
2 index 90ed8fc..570f2fd 100755
3 --- a/tinyexpr.c
4 +++ b/tinyexpr.c
5 @@ -49,6 +49,11 @@ For log = natural log uncomment the next line. */
6 #define INFINITY (1.0/0.0)
7 #endif
8
9 +/* https://github.com/codeplea/tinyexpr/issues/34 */
10 +#ifdef _MSC_VER
11 +#pragma function(ceil)
12 +#pragma function(floor)
13 +#endif
14
15 typedef double (*te_fun2)(double, double);
16