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:
55d8648
)
Not all platforms supports sighandler_t, so I changed it to use the older
author
John Criswell
<criswell@uiuc.edu>
Thu, 1 Jan 2004 15:14:28 +0000
(15:14 +0000)
committer
John Criswell
<criswell@uiuc.edu>
Thu, 1 Jan 2004 15:14:28 +0000
(15:14 +0000)
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
lib/Support/SlowOperationInformer.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/SlowOperationInformer.cpp
b/lib/Support/SlowOperationInformer.cpp
index 9fd718e3060707a342546898e8d83ec3969a951f..c245f3655c2a289246ba1a55f48634a408acbae2 100644
(file)
--- a/
lib/Support/SlowOperationInformer.cpp
+++ b/
lib/Support/SlowOperationInformer.cpp
@@
-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)