aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-19 21:30:39 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-19 21:30:39 +0000
commit81e3954dc9dc3416c24cb82a0fd6b72576baede8 (patch)
treec9f23a56ee2196ad7081f95765447fa2a64421b1 /lib
parentab60be7a00a883957adec94f5c7c3139fb5dfd3d (diff)
downloadexternal_llvm-81e3954dc9dc3416c24cb82a0fd6b72576baede8.zip
external_llvm-81e3954dc9dc3416c24cb82a0fd6b72576baede8.tar.gz
external_llvm-81e3954dc9dc3416c24cb82a0fd6b72576baede8.tar.bz2
Handle each of stderr/stdin/stdout separately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/System/DynamicLibrary.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/System/DynamicLibrary.cpp b/lib/System/DynamicLibrary.cpp
index 097e8b6..d4bf0f7 100644
--- a/lib/System/DynamicLibrary.cpp
+++ b/lib/System/DynamicLibrary.cpp
@@ -172,7 +172,11 @@ void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
{
#ifndef stdin
EXPLICIT_SYMBOL(stdin);
+#endif
+#ifndef stdout
EXPLICIT_SYMBOL(stdout);
+#endif
+#ifndef stderr
EXPLICIT_SYMBOL(stderr);
#endif
}