summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-25 20:28:38 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-25 20:28:38 -0500
commit210a1c75d5d827887f718e3b0ac88d0e0aab3d20 (patch)
treeadaa9c78be0942605a1666e8979471485a3886bd /gpsd.h-tail
parent460a419d16d38e2a56fb7f4596a5086711ed463b (diff)
downloadgpsd-210a1c75d5d827887f718e3b0ac88d0e0aab3d20.tar.gz
NAN is in the SuS <math.h>.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail8
1 files changed, 0 insertions, 8 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 8287a40d..bdd5ec91 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -683,14 +683,6 @@ extern struct tm *localtime_r(const time_t *,/*@out@*/struct tm *tp)/*@modifies
#define NITEMS(x) (int)(sizeof(x)/sizeof(x[0]))
-/* OpenBSD and FreeBSD and Cygwin don't seem to have NAN, NetBSD does, others? */
-/* FIX-ME: test for this in configure? */
-#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__CYGWIN__)
-#ifndef NAN
-#define NAN (0.0/0.0)
-#endif /* !NAN */
-#endif /* list of Operating Systems */
-
/* Cygwin, in addition to NAN, doesn't have cfmakeraw */
#if defined(__CYGWIN__)
void cfmakeraw(struct termios *);