Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SIGURS1 is not defined on windows (but signal() and signal.h are both here)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 24 Aug 2006 12:02:29 +0000 (12:02 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 24 Aug 2006 12:02:29 +0000 (12:02 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2738 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/gras.c

index b4a33a3..a85be22 100644 (file)
@@ -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     
   }