summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/Support/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/lib/Support/Unix')
-rw-r--r--gnu/llvm/lib/Support/Unix/Process.inc4
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);