[llvm-commits] CVS: llvm/lib/Support/SlowOperationInformer.cpp
John Criswell
criswell at cs.uiuc.edu
Thu Jan 1 09:15:02 PST 2004
Changes in directory llvm/lib/Support:
SlowOperationInformer.cpp updated: 1.3 -> 1.4
---
Log message:
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.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Support/SlowOperationInformer.cpp
diff -u llvm/lib/Support/SlowOperationInformer.cpp:1.3 llvm/lib/Support/SlowOperationInformer.cpp:1.4
--- llvm/lib/Support/SlowOperationInformer.cpp:1.3 Wed Dec 31 04:20:38 2003
+++ llvm/lib/Support/SlowOperationInformer.cpp Thu Jan 1 09:14:28 2004
@@ -41,7 +41,7 @@
ShouldShowStatus = true;
}
-static sighandler_t OldSigIntHandler;
+static void (*OldSigIntHandler) (int);
SlowOperationInformer::SlowOperationInformer(const std::string &Name)
More information about the llvm-commits
mailing list