Remove nan() fallback

We stopped using nan() when @krader1961 changed the timef() function
a while back. I removed the autoconf check recently as well.
This commit is contained in:
Aaron Gyes 2016-10-09 07:09:52 -07:00
parent 8d40bf325d
commit 5d4fffcae4
2 changed files with 0 additions and 8 deletions

View File

@ -255,10 +255,6 @@ int killpg(int pgr, int sig) {
} }
#endif #endif
#ifndef HAVE_NAN
double nan(char *tagp) { return 0.0 / 0.0; }
#endif
// Big hack to use our versions of wcswidth where we know them to be broken, which is // Big hack to use our versions of wcswidth where we know them to be broken, which is
// EVERYWHERE (https://github.com/fish-shell/fish-shell/issues/2199) // EVERYWHERE (https://github.com/fish-shell/fish-shell/issues/2199)
#ifndef HAVE_BROKEN_WCWIDTH #ifndef HAVE_BROKEN_WCWIDTH

View File

@ -125,8 +125,4 @@ char *fish_textdomain(const char *domainname);
int killpg(int pgr, int sig); int killpg(int pgr, int sig);
#endif #endif
#ifndef HAVE_NAN
double nan(char *tagp);
#endif
#endif #endif