summaryrefslogtreecommitdiff
path: root/libavcodec/eval.c
diff options
context:
space:
mode:
authorRémi Guyomarch <rguyom@pobox.com>2002-08-25 22:54:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-08-25 22:54:43 +0000
commitd0d816d8bf0d784721467779069f6cb5975d217f (patch)
tree99f28f6b35c57c312aeb4dac2877f1e79aa8ea8a /libavcodec/eval.c
parentce980a95765fd5b87fa1a673b0c46bb4b03b0ce1 (diff)
NAN doesnt exist on FreeBSD patch by (Rémi Guyomarch <rguyom at pobox dot com>)
Originally committed as revision 864 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r--libavcodec/eval.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 8d06f7fc8a..832af28e62 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -28,6 +28,10 @@
#include <string.h>
#include <math.h>
+#ifndef NAN
+ #define NAN 0
+#endif
+
#define STACK_SIZE 100
typedef struct Parser{