projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[v2.0] Fixed problem with Borland C++ Builder (Borland C do not have lrintf). Thanks...
[openjpeg.git]
/
libopenjpeg
/
opj_includes.h
diff --git
a/libopenjpeg/opj_includes.h
b/libopenjpeg/opj_includes.h
index d4ed1ae1e752e0a47da2d5c8abf93ac3f71db915..dbf0f505ffad5016ce2d7058447b726ab13c87b3 100644
(file)
--- a/
libopenjpeg/opj_includes.h
+++ b/
libopenjpeg/opj_includes.h
@@
-87,8
+87,8
@@
Most compilers implement their own version of this keyword ...
#endif
#endif
-/* MSVC
does
not have lrintf */
-#if
def _MSC_VER
+/* MSVC
and Borland C do
not have lrintf */
+#if
defined(_MSC_VER) || defined(__BORLANDC__)
static INLINE long lrintf(float f){
int i;