summaryrefslogtreecommitdiff
path: root/sysdeps/stub/bits/nan.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/bits/nan.h')
-rw-r--r--sysdeps/stub/bits/nan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/stub/bits/nan.h b/sysdeps/stub/bits/nan.h
new file mode 100644
index 0000000000..ab38168ea4
--- /dev/null
+++ b/sysdeps/stub/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. */