summaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 8ebc8ceb81..d75d190723 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -364,6 +364,9 @@
# if !defined(NAN)
# define NAN (INFINITY-INFINITY)
# endif
+# if !defined(DBL_EPSILON)
+# define DBL_EPSILON 2.2204460492503131e-16
+# endif
# endif
#endif