diff options
author | Ilia <ki.stfu@gmail.com> | 2018-11-28 04:34:29 +0300 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2018-11-28 02:34:29 +0100 |
commit | 8ec20d2b0d500ad62ea18373a7ab581945c9c655 (patch) | |
tree | fa162e201bba6c401d032f6196d71969271193ad | |
parent | 8f16d66c9c6544f3cc2e234eda242e11ca4ad89d (diff) | |
download | coreclr-8ec20d2b0d500ad62ea18373a7ab581945c9c655.tar.gz coreclr-8ec20d2b0d500ad62ea18373a7ab581945c9c655.tar.bz2 coreclr-8ec20d2b0d500ad62ea18373a7ab581945c9c655.zip |
Move all the math functions undef #ifndef PAL_STDCPP_COMPAT (#21170)
Bug: 20786
-rw-r--r-- | src/pal/inc/pal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index e304d854e9..c3ec812421 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 |