[llvm-commits] [poolalloc] r142650 - /poolalloc/trunk/tools/WatchDog/WatchDog.cpp
John Criswell
criswell at uiuc.edu
Fri Oct 21 07:56:14 PDT 2011
Author: criswell
Date: Fri Oct 21 09:56:14 2011
New Revision: 142650
URL: http://llvm.org/viewvc/llvm-project?rev=142650&view=rev
Log:
Don't include check_process() on non-Apple platforms.
Modified:
poolalloc/trunk/tools/WatchDog/WatchDog.cpp
Modified: poolalloc/trunk/tools/WatchDog/WatchDog.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/tools/WatchDog/WatchDog.cpp?rev=142650&r1=142649&r2=142650&view=diff
==============================================================================
--- poolalloc/trunk/tools/WatchDog/WatchDog.cpp (original)
+++ poolalloc/trunk/tools/WatchDog/WatchDog.cpp Fri Oct 21 09:56:14 2011
@@ -85,6 +85,7 @@
exit (1);
}
+#if defined(__APPLE__)
//
// Function: check_process()
//
@@ -120,6 +121,7 @@
alarm (check_interval);
return;
}
+#endif
int
main (int argc, char ** argv) {
More information about the llvm-commits
mailing list