From: Ilia Date: Wed, 28 Nov 2018 01:34:29 +0000 (+0300) Subject: Move all the math functions undef #ifndef PAL_STDCPP_COMPAT (#21170) X-Git-Tag: accepted/tizen/unified/20190422.045933~531 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ec20d2b0d500ad62ea18373a7ab581945c9c655;p=platform%2Fupstream%2Fcoreclr.git Move all the math functions undef #ifndef PAL_STDCPP_COMPAT (#21170) Bug: 20786 --- diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index e304d85..c3ec812 100644 --- a/src/pal/inc/pal.h +++ b/src/pal/inc/pal.h @@ -4481,11 +4481,10 @@ unsigned int __cdecl _rotr(unsigned int value, int shift) #endif // !__has_builtin(_rotr) PALIMPORT int __cdecl abs(int); -#ifndef PAL_STDCPP_COMPAT -PALIMPORT LONG __cdecl labs(LONG); -#endif // !PAL_STDCPP_COMPAT // clang complains if this is declared with __int64 PALIMPORT long long __cdecl llabs(long long); +#ifndef PAL_STDCPP_COMPAT +PALIMPORT LONG __cdecl labs(LONG); PALIMPORT int __cdecl _signbit(double); PALIMPORT int __cdecl _finite(double); @@ -4552,6 +4551,7 @@ PALIMPORT float __cdecl sinhf(float); PALIMPORT float __cdecl sqrtf(float); PALIMPORT float __cdecl tanf(float); PALIMPORT float __cdecl tanhf(float); +#endif // !PAL_STDCPP_COMPAT #ifndef PAL_STDCPP_COMPAT