[llvm-c] Specify explicit namespace in LLVMLoadLibraryPermanently
authorPeter Zotov <whitequark@whitequark.org>
Wed, 6 Nov 2013 09:45:58 +0000 (09:45 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Wed, 6 Nov 2013 09:45:58 +0000 (09:45 +0000)
Presence of using namespace llvm depended on several #ifdef's, and
this broke the build on mswin32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194142 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/DynamicLibrary.cpp

index f58a1f1c8f8f768731c0680500137bfa0a49c95e..3feb5ad07a30cbf30242a542e85d46c5925cd463 100644 (file)
@@ -176,5 +176,5 @@ void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) {
 //===----------------------------------------------------------------------===//
 
 LLVMBool LLVMLoadLibraryPermanently(const char* Filename) {
-  return sys::DynamicLibrary::LoadLibraryPermanently(Filename);
+  return llvm::sys::DynamicLibrary::LoadLibraryPermanently(Filename);
 }
\ No newline at end of file