summaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits/nan.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/nan.h')
-rw-r--r--sysdeps/generic/bits/nan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/nan.h b/sysdeps/generic/bits/nan.h
new file mode 100644
index 0000000000..ab38168ea4
--- /dev/null
+++ b/sysdeps/generic/bits/nan.h
@@ -0,0 +1,5 @@
+#ifndef _MATH_H
+#error "Never use <bits/nan.h> directly; include <math.h> instead."
+#endif
+
+/* This file should define `NAN' on machines that have such things. */