OSDN Git Service

intfloat_readwrite: include "mathematics.h" for fallback macros
authorMans Rullgard <mans@mansr.com>
Tue, 25 Jan 2011 03:33:43 +0000 (03:33 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 25 Jan 2011 15:57:53 +0000 (15:57 +0000)
This allows this file to build on systems lacking NAN or INFINITY
in math.h.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavutil/intfloat_readwrite.c

index d9b3752..f51d8dd 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #include <stdint.h>
-#include <math.h>
+#include "mathematics.h"
 #include "intfloat_readwrite.h"
 
 double av_int2dbl(int64_t v){