diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-01-06 18:47:03 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-01-06 18:47:03 +0000 |
| commit | ae20590c17390c438957584e633d0c48f1fbeb8e (patch) | |
| tree | 79a2ca52ea03817dc076adacf53edd531d3e4906 /libcxx/include | |
| parent | 26a6fcde83f94543405373dcff0ae86afb24cea9 (diff) | |
| download | bcm5719-llvm-ae20590c17390c438957584e633d0c48f1fbeb8e.tar.gz bcm5719-llvm-ae20590c17390c438957584e633d0c48f1fbeb8e.zip | |
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
Diffstat (limited to 'libcxx/include')
| -rw-r--r-- | libcxx/include/__config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index e6b2ff307a3..06f8b390bb9 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -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) |

