summaryrefslogtreecommitdiffstats
path: root/libavcodec/eval.c
diff options
context:
space:
mode:
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 8d06f7f..832af28 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{
OpenPOWER on IntegriCloud