Skip to content

Commit

Permalink
Move all the math functions undef #ifndef PAL_STDCPP_COMPAT (dotnet#2…
Browse files Browse the repository at this point in the history
…1170)

Bug: 20786
  • Loading branch information
k15tfu authored and janvorli committed Nov 28, 2018
1 parent 8f16d66 commit 8ec20d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pal/inc/pal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 8ec20d2

Please sign in to comment.