diff options
-rw-r--r-- | lib/Support/Windows/Path.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index 52284d9..1694cb2 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -31,6 +31,10 @@ typedef int errno_t; #endif +#ifdef _MSC_VER +# pragma comment(lib, "advapi32.lib") // This provides CryptAcquireContextW. +#endif + using namespace llvm; namespace { |