]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/openjpeg/fix-lrintf-to-opj_lrintf.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / openjpeg / fix-lrintf-to-opj_lrintf.patch
1 diff --git a/src/lib/openmj2/opj_includes.h b/src/lib/openmj2/opj_includes.h
2 index 340e8a9..11bb0e4 100644
3 --- a/src/lib/openmj2/opj_includes.h
4 +++ b/src/lib/openmj2/opj_includes.h
5 @@ -93,7 +93,7 @@ Most compilers implement their own version of this keyword ...
6
7 /* MSVC and Borland C do not have lrintf */
8 #if defined(_MSC_VER) || defined(__BORLANDC__)
9 -static INLINE long lrintf(float f)
10 +static INLINE long opj_lrintf(float f)
11 {
12 #ifdef _M_X64
13 return (long)((f > 0.0f) ? (f + 0.5f) : (f - 0.5f));