mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55d86482bd
commit
2657aecfe2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user