A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SIGURS1 is not defined on windows (but signal() and signal.h are both here)
[simgrid.git]
/
src
/
gras
/
gras.c
diff --git
a/src/gras/gras.c
b/src/gras/gras.c
index
b4a33a3
..
a85be22
100644
(file)
--- 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)
gras_trp_init();
gras_datadesc_init();
#if defined(HAVE_SIGNAL) && defined(HAVE_SIGNAL_H)
+# ifdef SIGUSR1
signal(SIGUSR1,gras_sigusr_handler);
signal(SIGUSR1,gras_sigusr_handler);
+# endif
signal(SIGINT,gras_sigint_handler);
#endif
}
signal(SIGINT,gras_sigint_handler);
#endif
}