summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/DynamicLibrary.cpp
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
commitdcf6f9003345581c2d5a6cf2f36352f59f586c8d (patch)
tree2afbd4aeb7749449f52b8b59170697d0b3a31a09 /llvm/lib/System/DynamicLibrary.cpp
parentadf4118a36f359193c05c72a0e3f99ea86d395a9 (diff)
downloadbcm5719-llvm-dcf6f9003345581c2d5a6cf2f36352f59f586c8d.tar.gz
bcm5719-llvm-dcf6f9003345581c2d5a6cf2f36352f59f586c8d.zip
Handle each of stderr/stdin/stdout separately.
llvm-svn: 33373
Diffstat (limited to 'llvm/lib/System/DynamicLibrary.cpp')
-rw-r--r--llvm/lib/System/DynamicLibrary.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/System/DynamicLibrary.cpp b/llvm/lib/System/DynamicLibrary.cpp
index 097e8b6ec4f..d4bf0f797fc 100644
--- a/llvm/lib/System/DynamicLibrary.cpp
+++ b/llvm/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
}
OpenPOWER on IntegriCloud