diff options
| author | Shoaib Meenai <smeenai@fb.com> | 2016-10-12 13:48:14 +0000 |
|---|---|---|
| committer | Shoaib Meenai <smeenai@fb.com> | 2016-10-12 13:48:14 +0000 |
| commit | 9f50fffc0487b74b1828afc4f63d2a8df586df51 (patch) | |
| tree | 7442a8436e2e98a785225667c1b7743ec4bad9e8 /libcxx/include/new | |
| parent | 08190943cb62415df6357bed412479c5d94f0ea3 (diff) | |
| download | bcm5719-llvm-9f50fffc0487b74b1828afc4f63d2a8df586df51.tar.gz bcm5719-llvm-9f50fffc0487b74b1828afc4f63d2a8df586df51.zip | |
[libc++] Correct explanation of _LIBCPP_NEW_DELETE_VIS
The behavior of this macro actually needs to apply universally on
Windows and not just when using the Microsoft CRT. Update the macro
definition and documentation accordingly.
Differential Revision: https://reviews.llvm.org/D25145
llvm-svn: 284016
Diffstat (limited to 'libcxx/include/new')
| -rw-r--r-- | libcxx/include/new | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/new b/libcxx/include/new index 16b3011efb2..e77d3e6d624 100644 --- a/libcxx/include/new +++ b/libcxx/include/new @@ -125,7 +125,7 @@ _LIBCPP_FUNC_VIS new_handler get_new_handler() _NOEXCEPT; } // std -#if defined(_LIBCPP_MSVCRT) && !defined(_LIBCPP_BUILDING_LIBRARY) +#if defined(_WIN32) && !defined(_LIBCPP_BUILDING_LIBRARY) # define _LIBCPP_NEW_DELETE_VIS #else # define _LIBCPP_NEW_DELETE_VIS _LIBCPP_FUNC_VIS |

