Index: opj_includes.h
===================================================================
--- opj_includes.h (revision 541)
+++ opj_includes.h (working copy)
@@ -86,8 +86,8 @@
#endif
#endif
-/* MSVC does not have lrintf */
-#ifdef _MSC_VER
+/* MSVC and Borland C do not have lrintf */
+#if defined(_MSC_VER) || defined(__BORLANDC__)
static INLINE long lrintf(float f){
int i;