diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-09-04 09:14:45 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2012-09-04 09:14:45 +0000 |
commit | c439a426499df7fa4e829087228bc3e313dd1e81 (patch) | |
tree | 1d24eb3c94e1ec0fc43d645f3cb34a85d93dd6cc /llvm/lib/Support/DynamicLibrary.cpp | |
parent | ad41c4ce20ab92e679458c94767542cb965719f6 (diff) | |
download | bcm5719-llvm-c439a426499df7fa4e829087228bc3e313dd1e81.tar.gz bcm5719-llvm-c439a426499df7fa4e829087228bc3e313dd1e81.zip |
Fix Android build of gtest and lib/Support.
llvm-svn: 163131
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
-rw-r--r-- | llvm/lib/Support/DynamicLibrary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/DynamicLibrary.cpp b/llvm/lib/Support/DynamicLibrary.cpp index fb02c07e4af..45fec361c1a 100644 --- a/llvm/lib/Support/DynamicLibrary.cpp +++ b/llvm/lib/Support/DynamicLibrary.cpp @@ -160,7 +160,7 @@ void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) { // On linux we have a weird situation. The stderr/out/in symbols are both // macros and global variables because of standards requirements. So, we // boldly use the EXPLICIT_SYMBOL macro without checking for a #define first. -#if defined(__linux__) +#if defined(__linux__) and !defined(__ANDROID__) { EXPLICIT_SYMBOL(stderr); EXPLICIT_SYMBOL(stdout); |