Not all platforms supports sighandler_t, so I changed it to use the older
[oota-llvm.git] / lib / Support / SlowOperationInformer.cpp
index 9fd718e..c245f36 100644 (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)