Skip to content
Snippets Groups Projects
Commit 10a3e3fe authored by Marco Z's avatar Marco Z
Browse files

Define EPSILONs only if not already defined

Fixes OSX buildbot
parent c65f44e8
No related branches found
No related tags found
No related merge requests found
......@@ -411,8 +411,13 @@ INT32 I_GetKey(void);
#endif
// Floating point comparison epsilons from float.h
#ifndef FLT_EPSILON
#define FLT_EPSILON 1.1920928955078125e-7f
#endif
#ifndef DBL_EPSILON
#define DBL_EPSILON 2.2204460492503131e-16
#endif
// An assert-type mechanism.
#ifdef PARANOIA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment