diff options
| author | Filipe Cabecinhas <me@filcab.net> | 2016-03-09 15:39:43 +0000 |
|---|---|---|
| committer | Filipe Cabecinhas <me@filcab.net> | 2016-03-09 15:39:43 +0000 |
| commit | 42bba2eb2a1262e87355ef072f46c7f9ac1093e8 (patch) | |
| tree | f0ec58ef5e18db6de6eca7d3a235a34ef7d1164b | |
| parent | d2f15ba3a1a23e69f2938364f006170f2ee783c7 (diff) | |
| download | bcm5719-llvm-42bba2eb2a1262e87355ef072f46c7f9ac1093e8.tar.gz bcm5719-llvm-42bba2eb2a1262e87355ef072f46c7f9ac1093e8.zip | |
[test/sanitizer-common] Move getpass.cc from Linux into Posix
llvm-svn: 263017
| -rw-r--r-- | compiler-rt/test/sanitizer_common/TestCases/Posix/getpass.cc (renamed from compiler-rt/test/sanitizer_common/TestCases/Linux/getpass.cc) | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/getpass.cc b/compiler-rt/test/sanitizer_common/TestCases/Posix/getpass.cc index 902c9cb5655..251f9119d68 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Linux/getpass.cc +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/getpass.cc @@ -4,7 +4,11 @@ #include <stdio.h> #include <unistd.h> #include <string.h> +#if __linux__ #include <pty.h> +#else +#include <util.h> +#endif int main (int argc, char** argv) |

