From: Chris Bieneman Date: Wed, 24 Sep 2014 18:35:58 +0000 (+0000) Subject: Adding #ifdef around TermColorMutex based on feedback from Craig Topper. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4bb780af4224c23c35fdd1fa17569f90b3254418;p=oota-llvm.git Adding #ifdef around TermColorMutex based on feedback from Craig Topper. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218401 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Unix/Process.inc b/lib/Support/Unix/Process.inc index 566684ff5eb..4d272fd6b4b 100644 --- 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 TermColorMutex; +#endif static bool terminalHasColors(int fd) { #ifdef HAVE_TERMINFO