bytecode: work around for isnan and isinf bug in C++ standard, glibc <= 2.23.
Fixed by https://sourceware.org/bugzilla/show_bug.cgi?id=19439time-shift
parent
05a906fa8b
commit
8b17af05d5
|
@ -37,6 +37,15 @@
|
|||
# define CHAR_LENGTH 2
|
||||
#endif
|
||||
|
||||
//Work around for: https://sourceware.org/bugzilla/show_bug.cgi?id=19439
|
||||
#ifndef __builtin_isnan
|
||||
# define isnan(x) std::isnan(x)
|
||||
#endif
|
||||
|
||||
#ifndef __builtin_isinf
|
||||
# define isinf(x) std::isinf(x)
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <limits>
|
||||
#define M_E 2.71828182845904523536
|
||||
|
|
Loading…
Reference in New Issue