--- rpl/src/fusible.c 2010/07/14 14:19:34 1.11 +++ rpl/src/fusible.c 2010/08/09 13:51:47 1.14 @@ -20,7 +20,7 @@ */ -#include "rpl.conv.h" +#include "rpl-conv.h" /* @@ -40,6 +40,8 @@ void * fusible(void *argument) { +# ifndef OS2 + real8 temps_cpu_precedent; real8 temps_cpu_courant; @@ -95,7 +97,6 @@ fusible(void *argument) { pthread_testcancel(); nanosleep(&temporisation, NULL); - getrusage(RUSAGE_SELF, &s_rusage); temps_cpu_precedent = temps_cpu_courant; @@ -132,6 +133,17 @@ fusible(void *argument) fflush(stdout); } +# else + if ((*s_etat_processus).langue == 'F') + { + printf("+++Attention : Support indisponible sous OS/2\n"); + } + else + { + printf("+++Attention : Function unavailable\n"); + } +# endif + pthread_exit(NULL); }