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