[1.5] fix compilation warning about lrintf being implicit.
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 21 May 2012 09:23:06 +0000 (09:23 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 21 May 2012 09:23:06 +0000 (09:23 +0000)
Fixes issue 144

libopenjpeg/tcd.c

index 18cdbc786bca6318246f9c556c4b77f82b6a9fff..94c5d79f668f22f651838eb29784774999f6a9a0 100644 (file)
@@ -30,6 +30,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#define _ISOC99_SOURCE /* lrintf is C99 */
 #include "opj_includes.h"
 
 void tcd_dump(FILE *fd, opj_tcd_t *tcd, opj_tcd_image_t * img) {