mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
Haiku: force undefine INFINITY for GCC2 as it's not const
It's defined as a non-const inline union...
This commit is contained in:
parent
7e347a7c84
commit
80c9d94ffb
@ -26,6 +26,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(__HAIKU__) && __GNUC__ < 3
|
||||
#undef INFINITY
|
||||
#endif
|
||||
|
||||
#ifdef INFINITY
|
||||
static const float kInfinity = INFINITY;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user