mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 18:30:20 +08:00
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:
parent
8d40bf325d
commit
5d4fffcae4
|
@ -255,10 +255,6 @@ int killpg(int pgr, int sig) {
|
|||
}
|
||||
#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
|
||||
// EVERYWHERE (https://github.com/fish-shell/fish-shell/issues/2199)
|
||||
#ifndef HAVE_BROKEN_WCWIDTH
|
||||
|
|
|
@ -125,8 +125,4 @@ char *fish_textdomain(const char *domainname);
|
|||
int killpg(int pgr, int sig);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_NAN
|
||||
double nan(char *tagp);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user