projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88ae96
)
Adding #ifdef around TermColorMutex based on feedback from Craig Topper.
author
Chris Bieneman
<beanz@apple.com>
Wed, 24 Sep 2014 18:35:58 +0000
(18:35 +0000)
committer
Chris Bieneman
<beanz@apple.com>
Wed, 24 Sep 2014 18:35:58 +0000
(18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218401
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Unix/Process.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Unix/Process.inc
b/lib/Support/Unix/Process.inc
index 566684ff5eb977a33105ce2e398231408ca364c7..4d272fd6b4b98c338d794ec9b63eea8c6faf170f 100644
(file)
--- a/
lib/Support/Unix/Process.inc
+++ b/
lib/Support/Unix/Process.inc
@@
-264,7
+264,9
@@
extern "C" int del_curterm(struct term *termp);
extern "C" int tigetnum(char *capname);
#endif
+#ifdef HAVE_TERMINFO
static ManagedStatic<sys::Mutex> TermColorMutex;
+#endif
static bool terminalHasColors(int fd) {
#ifdef HAVE_TERMINFO