# HG changeset patch # User Daniele Nicolodi # Date 1424988606 -3600 # Node ID 4db8746bd575c0b86fc29393d1bc80df7776a3d8 # Parent 17d5eb774b8f1f65d1b2259a2e771c80a5e51e55 Add NaN and isnan() compatibility macros to future.h diff -r 17d5eb774b8f -r 4db8746bd575 future.h --- a/future.h Thu Feb 12 22:45:44 2015 +0100 +++ b/future.h Thu Feb 26 23:10:06 2015 +0100 @@ -3,6 +3,9 @@ #define strdup(s) StrDup(s) +#define NaN NotANumber() +#define isnan(v) IsNotANumber(v) + /* required for time_t definition */ #include