changeset 614:b786f15df503 libavcodec

NAN doesnt exist on FreeBSD patch by (Rmi Guyomarch <rguyom at pobox dot com>)
author michaelni
date Sun, 25 Aug 2002 22:54:43 +0000
parents 9bb356b23dd9
children 459a715f0661
files eval.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/eval.c	Sun Aug 25 21:41:57 2002 +0000
+++ b/eval.c	Sun Aug 25 22:54:43 2002 +0000
@@ -28,6 +28,10 @@
 #include <string.h>
 #include <math.h>
 
+#ifndef NAN
+  #define NAN 0
+#endif
+
 #define STACK_SIZE 100
 
 typedef struct Parser{