]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/pqp/fix-math-functions.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / pqp / fix-math-functions.patch
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/pqp/fix-math-functions.patch b/ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/pqp/fix-math-functions.patch
new file mode 100644 (file)
index 0000000..51a4f15
--- /dev/null
@@ -0,0 +1,17 @@
+--- a/PQP_v1.3/src/PQP_Compile.h
++++ b/PQP_v1.3/src/PQP_Compile.h
+@@ -44,10 +44,10 @@
+ // prevents compiler warnings when PQP_REAL is float
+ #include <math.h>
+-inline float sqrt(float x) { return (float)sqrt((double)x); }
+-inline float cos(float x) { return (float)cos((double)x); }
+-inline float sin(float x) { return (float)sin((double)x); }
+-inline float fabs(float x) { return (float)fabs((double)x); }
++//inline float sqrt(float x) { return (float)sqrt((double)x); }
++//inline float cos(float x) { return (float)cos((double)x); }
++//inline float sin(float x) { return (float)sin((double)x); }
++//inline float fabs(float x) { return (float)fabs((double)x); }
+ //-------------------------------------------------------------------------
+ //