# HG changeset patch # User mru # Date 1249867653 0 # Node ID 8f08abb1dffa58cef02ad8f77531281ce75f63b7 # Parent e557e75172b09d19e0c1312a623be575203cfaf0 eval: include libavutil/mathematics.h for NAN and M_PI diff -r e557e75172b0 -r 8f08abb1dffa eval.c --- a/eval.c Mon Aug 10 01:27:30 2009 +0000 +++ b/eval.c Mon Aug 10 01:27:33 2009 +0000 @@ -33,17 +33,10 @@ #include #include +#include "libavutil/mathematics.h" #include "avcodec.h" #include "eval.h" -#ifndef NAN - #define NAN 0.0/0.0 -#endif - -#ifndef M_PI -#define M_PI 3.14159265358979323846 -#endif - typedef struct Parser{ int stack_index; char *s;