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
Pass with all flags.
[simgrid.git]
/
buildtools
/
CPACK
/
prog_test
/
prog_AC_CHECK_MCSC.c
diff --git
a/buildtools/CPACK/prog_test/prog_AC_CHECK_MCSC.c
b/buildtools/CPACK/prog_test/prog_AC_CHECK_MCSC.c
index
841f771
..
4cd27ed
100644
(file)
--- a/
buildtools/CPACK/prog_test/prog_AC_CHECK_MCSC.c
+++ b/
buildtools/CPACK/prog_test/prog_AC_CHECK_MCSC.c
@@
-2,9
+2,13
@@
#include <stdlib.h>
#include <ucontext.h>
+void child(void);
+
ucontext_t uc_child;
ucontext_t uc_main;
+
+
void child(void)
{
if (swapcontext(&uc_child, &uc_main) != 0)
@@
-45,4
+49,5
@@
int main(int argc, char *argv[])
/* die successfully */
exit(0);
+ return 1;
}