Not all platforms supports sighandler_t, so I changed it to use the older

return value from signal() (which should be the same type; it's just not
typedef'd).
This fixes the build on Solaris.

llvm-svn: 10675
This commit is contained in:
John Criswell 2004-01-01 15:14:28 +00:00
parent 46fdc8ce43
commit 4a673d0bf9

View File

@ -41,7 +41,7 @@ static RETSIGTYPE SigAlarmHandler(int Sig) {
ShouldShowStatus = true;
}
static sighandler_t OldSigIntHandler;
static void (*OldSigIntHandler) (int);
SlowOperationInformer::SlowOperationInformer(const std::string &Name)