# HG changeset patch # User michaelni # Date 1030316083 0 # Node ID b786f15df50356bb1fa74dcf3767e8f840722a23 # Parent 9bb356b23dd9d09331953b06df50b06e69add5c2 NAN doesnt exist on FreeBSD patch by (Rmi Guyomarch ) diff -r 9bb356b23dd9 -r b786f15df503 eval.c --- 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 #include +#ifndef NAN + #define NAN 0 +#endif + #define STACK_SIZE 100 typedef struct Parser{