Fix MSVC / Sun #ifdef ordering. Remove another #if-nothing-#endif.
Sorry for the churn. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151731 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
26cba271cb
commit
b6e7c305d4
@ -999,11 +999,8 @@ inline _LIBCPP_INLINE_VISIBILITY
|
||||
typename enable_if<is_integral<_A1>::value, double>::type
|
||||
sqrt(_A1 __x) {return sqrt((double)__x);}
|
||||
|
||||
#ifndef __sun__
|
||||
|
||||
// tan
|
||||
|
||||
#endif // __sun__
|
||||
using ::tan;
|
||||
using ::tanf;
|
||||
#ifndef __sun__
|
||||
@ -1415,11 +1412,12 @@ typename enable_if<is_integral<_A1>::value, long>::type
|
||||
lround(_A1 __x) {return lround((double)__x);}
|
||||
|
||||
// nan
|
||||
|
||||
#endif // _MSC_VER
|
||||
#endif // __sun__
|
||||
using ::nan;
|
||||
using ::nanf;
|
||||
#ifndef __sun__
|
||||
#ifndef _MSC_VER
|
||||
|
||||
// nearbyint
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user