summaryrefslogtreecommitdiffstats
path: root/libcxx/include/support/win32/math_win32.h
Commit message (Collapse)AuthorAgeFilesLines
* [libc++] Remove math_win32.hShoaib Meenai2016-09-241-117/+0
| | | | | | | | | Visual Studio 2013 and onward have all the required functions in their CRT headers, and we don't support older versions anymore. Differential Revision: https://reviews.llvm.org/D24879 llvm-svn: 282328
* cmath: account for MSVCRT 12.0 changesSaleem Abdulrasool2015-02-281-1/+3
| | | | | | | | | | | | | | MSVCRT 12.0 introduces better compatibility for C99. This includes a number of math routines that were previously undefined. Use the crtversion.h header to detect the version of MSVCRT being targeted and avoid re-declaring the variables. Since copysign has been introduced in MSVCRT, importing the definition via using makes it difficult to provide overloads (due to minor differences between throw () and noexcept. Avoid defining the overloads on newer MSVCRT targets. llvm-svn: 230867
* G M: Restore the ability for libcxx to compile again on mingw 64.Howard Hinnant2013-09-171-0/+2
| | | | llvm-svn: 190837
* Nico Rieck: Currently _MSC_VER and _WIN32 are used to guard code which isHoward Hinnant2013-08-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | MSVC-specific, MSVCRT-specific, or Windows-specific. Because Clang can also define _MSC_VER, and MSVCRT is not necessarily the only C runtime, these macros should not be used interchangeably. This patch divides all Windows-related bits into the aforementioned categories. Two new macros are introduced: - _LIBCPP_MSVC: Defined when compiling with MSVC. Detected using _MSC_VER, excluding Clang. - _LIBCPP_MSVCRT: Defined when using the Microsoft CRT. This is the default when _WIN32 is defined. This leaves _WIN32 for code using the Windows API. This also corrects the spelling of _LIBCP_HAS_IS_BASE_OF to _LIBCPP_HAS_IS_BASE_OF. Nico, please prepare a patch for CREDITS.TXT, thanks. llvm-svn: 187593
* Add missing newlines at EOF.Bob Wilson2012-02-201-1/+1
| | | | llvm-svn: 150965
* Windows port work by Ruben Van BoxemHoward Hinnant2011-10-271-0/+113
llvm-svn: 143105
OpenPOWER on IntegriCloud