math: actually pull the declarations/overloads into std

The previous changes missed the change to include/cmath.  These changes
allow some of the rand.distribution tests to pass on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@294957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Saleem Abdulrasool
2017-02-13 15:26:50 +00:00
parent 7f5b63b5c4
commit 766ba68107
2 changed files with 4 additions and 1 deletions

View File

@@ -398,7 +398,7 @@ using ::cbrtf;
using ::copysign; using ::copysign;
using ::copysignf; using ::copysignf;
#ifndef _LIBCPP_MSVCRT #if !defined(_LIBCPP_MSVCRT) || ((_VC_CRT_NAJOR_VERSION-0) >= 14)
using ::erf; using ::erf;
using ::erff; using ::erff;
using ::erfc; using ::erfc;

View File

@@ -293,6 +293,9 @@ long double truncl(long double x);
*/ */
#include <__config> #include <__config>
#if defined(_LIBCPP_MSVCRT)
#include <crtversion.h>
#endif
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header #pragma GCC system_header