projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5a4802
)
Fix windows build, patch by Marius Wachtler!
author
Chris Lattner
<sabre@nondot.org>
Thu, 29 Jan 2009 18:53:28 +0000
(18:53 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 29 Jan 2009 18:53:28 +0000
(18:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63325
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/DynamicLibrary.inc
patch
|
blob
|
history
diff --git
a/lib/System/Win32/DynamicLibrary.inc
b/lib/System/Win32/DynamicLibrary.inc
index c76032f62d06e12bc6bec31ff557aed1dee88617..210eb2128d59b9ea49cf80a587bfce2dc5f82702 100644
(file)
--- a/
lib/System/Win32/DynamicLibrary.inc
+++ b/
lib/System/Win32/DynamicLibrary.inc
@@
-156,8
+156,8
@@
bool DynamicLibrary::LoadLibraryPermanently(const char *filename,
void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
// First check symbols added via AddSymbol().
- std::map<std::string, void *>::iterator I = g_symbols.find(symbolName);
- if (I != g_symbols.end())
+ std::map<std::string, void *>::iterator I = g_symbols
()
.find(symbolName);
+ if (I != g_symbols
()
.end())
return I->second;
// Now search the libraries.