cpp: avoid linking with GLIBC_2.27 on linux.
This commit is contained in:
parent
43f6a7828a
commit
3070a7c404
1 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,11 @@
|
|||
|
||||
#include <math.h>
|
||||
|
||||
// avoid linking to GLIBC_2.27
|
||||
#if defined (CR_LINUX) && !defined (CR_CXX_INTEL) && defined (CR_ARCH_X86)
|
||||
__asm__ (".symver powf,powf@GLIBC_2.0");
|
||||
#endif
|
||||
|
||||
CR_NAMESPACE_BEGIN
|
||||
|
||||
constexpr float kFloatEpsilon = 0.01f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue