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.

llvm-svn: 294957
This commit is contained in:
Saleem Abdulrasool 2017-02-13 15:26:50 +00:00
parent 4715d12345
commit 8a5789ebd1
2 changed files with 4 additions and 1 deletions

View File

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

View File

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