Correct mistake in pragma usage for Windows

The autolink pragma was missing the pragma name itself.  This would
result in the pragma being silently dropped.

llvm-svn: 321937
This commit is contained in:
Saleem Abdulrasool 2018-01-06 18:47:03 +00:00
parent 26a6fcde83
commit ae20590c17
1 changed files with 2 additions and 2 deletions

View File

@ -1278,9 +1278,9 @@ _LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container(
#if defined(_LIBCPP_ABI_MICROSOFT) && !defined(_LIBCPP_BUILDING_LIBRARY)
# if defined(_DLL)
# pragma(lib, "c++.lib")
# pragma comment(lib, "c++.lib")
# else
# pragma(lib, "libc++.lib")
# pragma comment(lib, "libc++.lib")
# endif
#endif // defined(_LIBCPP_ABI_MICROSOFT) && !defined(_LIBCPP_BUILDING_LIBRARY)