diff options
author | axel <axel@liljencrantz.se> | 2009-02-03 09:20:49 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2009-02-03 09:20:49 +1000 |
commit | 35258bf1fbf54cd0405755be0bf5a7e422a58fc1 (patch) | |
tree | 1d2f1b60314f2ac619b6ba0ca75457f89377aa02 /common.c | |
parent | 72025a6a38e3aed4dadab5013dc64e0a432ba992 (diff) |
Make proper autoconf test for availability of posix nan function instead of fudging with the NAN macro.
darcs-hash:20090202232049-ac50b-0176955677ff39fdd05eeefa20dca883863c34e6.gz
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1815,7 +1815,7 @@ double timef() if( time_res ) { - return NAN; + return nan(0); } return (double)tv.tv_sec + 0.000001*tv.tv_usec; |