mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 16:24:04 +02:00
Add MA_FLT_MAX in preparation for some work on the high level API.
This commit is contained in:
@@ -6804,6 +6804,14 @@ static MA_INLINE void ma_yield()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef MA_FLT_MAX
|
||||||
|
#ifdef FLT_MAX
|
||||||
|
#define MA_FLT_MAX FLT_MAX
|
||||||
|
#else
|
||||||
|
#define MA_FLT_MAX 3.402823466e+38F
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef MA_PI
|
#ifndef MA_PI
|
||||||
#define MA_PI 3.14159265358979323846264f
|
#define MA_PI 3.14159265358979323846264f
|
||||||
|
|||||||
Reference in New Issue
Block a user