X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/41d8bce3ae849d413eae48b4994721e38ee181e2..b42d7aedb6f826afd228aa610343b75b6bf45a12:/src/gras/gras.c?ds=sidebyside diff --git a/src/gras/gras.c b/src/gras/gras.c index b4a33a3e07..a85be22980 100644 --- a/src/gras/gras.c +++ b/src/gras/gras.c @@ -70,7 +70,9 @@ void gras_init(int *argc,char **argv) { gras_trp_init(); gras_datadesc_init(); #if defined(HAVE_SIGNAL) && defined(HAVE_SIGNAL_H) +# ifdef SIGUSR1 signal(SIGUSR1,gras_sigusr_handler); +# endif signal(SIGINT,gras_sigint_handler); #endif }