From 3a65db646a93694c4b297d2f8b73deefe88128b2 Mon Sep 17 00:00:00 2001 From: nge Date: Wed, 16 Dec 2009 15:06:50 +0000 Subject: [PATCH 1/1] A little fix for compilation on old gcc (i.e. 3.3.5) --- src/Local/Batch_BatchManager_Local.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Local/Batch_BatchManager_Local.cxx b/src/Local/Batch_BatchManager_Local.cxx index aadbcdc..fd975fe 100644 --- a/src/Local/Batch_BatchManager_Local.cxx +++ b/src/Local/Batch_BatchManager_Local.cxx @@ -606,7 +606,9 @@ namespace Batch { UNDER_LOCK( cout << "Status is: " << WCOREDUMP( child_rc) << endl); UNDER_LOCK( cout << "Status is: " << WIFSTOPPED( child_rc) << endl); UNDER_LOCK( cout << "Status is: " << WSTOPSIG( child_rc) << endl); - UNDER_LOCK( cout << "Status is: " << WIFCONTINUED( child_rc) << endl); +#ifdef WIFCONTINUED + UNDER_LOCK( cout << "Status is: " << WIFCONTINUED( child_rc) << endl); // not compilable on sarge +#endif if (WIFSTOPPED(child_rc)) { // NOTA : pour rentrer dans cette section, il faut que le flag WUNTRACED // soit positionne dans l'appel a waitpid ci-dessus. Ce flag est couramment -- 2.30.2