summaryrefslogtreecommitdiff
path: root/lib/libpthread/machdep/openbsd-2.0/__math.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/machdep/openbsd-2.0/__math.h')
-rwxr-xr-xlib/libpthread/machdep/openbsd-2.0/__math.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libpthread/machdep/openbsd-2.0/__math.h b/lib/libpthread/machdep/openbsd-2.0/__math.h
new file mode 100755
index 00000000000..27ed0f2575d
--- /dev/null
+++ b/lib/libpthread/machdep/openbsd-2.0/__math.h
@@ -0,0 +1,6 @@
+/*
+ * ANSI/POSIX
+ */
+extern char __infinity[];
+#define HUGE_VAL (*(double *) __infinity)
+