mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 21:31:32 +00:00
Define EPSILONs only if not already defined
Fixes OSX buildbot
This commit is contained in:
parent
c65f44e805
commit
10a3e3fec9
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue