Salome HOME
A little fix for compilation on old gcc (i.e. 3.3.5)
authornge <nge>
Wed, 16 Dec 2009 15:06:50 +0000 (15:06 +0000)
committernge <nge>
Wed, 16 Dec 2009 15:06:50 +0000 (15:06 +0000)
src/Local/Batch_BatchManager_Local.cxx

index aadbcdce76ddb81e0e0b0565526b1ee68f330873..fd975fe3125b24f593ae4e16e54b91087e92883d 100644 (file)
@@ -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