diff options
| author | 2019-01-27 16:55:35 +0000 | |
|---|---|---|
| committer | 2019-01-27 16:55:35 +0000 | |
| commit | 5072e66b18f5d3ac6abf1c18a092e85eab2d7568 (patch) | |
| tree | d93c84a9aeb44438542c3be0110f7bbb2c62a074 /gnu/llvm/lib/Support/Unix | |
| parent | Import LLVM 7.0.1 release including clang, lld and lldb. (diff) | |
| download | wireguard-openbsd-5072e66b18f5d3ac6abf1c18a092e85eab2d7568.tar.xz wireguard-openbsd-5072e66b18f5d3ac6abf1c18a092e85eab2d7568.zip | |
Merge LLVM 7.0.1 release.
With fixes from mortimer@ (thanks!)
Tested by many, especially naddy@ (thanks!)
Diffstat (limited to 'gnu/llvm/lib/Support/Unix')
| -rw-r--r-- | gnu/llvm/lib/Support/Unix/Process.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/llvm/lib/Support/Unix/Process.inc b/gnu/llvm/lib/Support/Unix/Process.inc index 3185f45a3a6..1d8a6c8a8db 100644 --- a/gnu/llvm/lib/Support/Unix/Process.inc +++ b/gnu/llvm/lib/Support/Unix/Process.inc @@ -331,6 +331,10 @@ static ManagedStatic<sys::Mutex> TermColorMutex; #endif static bool terminalHasColors(int fd) { +#if defined(__OpenBSD__) + return false; +#endif + #ifdef HAVE_TERMINFO // First, acquire a global lock because these C routines are thread hostile. MutexGuard G(*TermColorMutex); |
