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
don't even try to have ucontextes on windows.
[simgrid.git]
/
src
/
simix
/
UContext.cpp
diff --git
a/src/simix/UContext.cpp
b/src/simix/UContext.cpp
index
6d58316
..
7cb720a
100644
(file)
--- a/
src/simix/UContext.cpp
+++ b/
src/simix/UContext.cpp
@@
-9,6
+9,7
@@
#include <stdarg.h>
#include <functional>
#include <stdarg.h>
#include <functional>
+#include <ucontext.h> /* context relative declarations */
#include "xbt/parmap.h"
#include "src/simix/smx_private.h"
#include "xbt/parmap.h"
#include "src/simix/smx_private.h"
@@
-17,12
+18,6
@@
#include "src/context_sysv_config.h" /* loads context system definitions */
#include "mc/mc.h"
#include "src/context_sysv_config.h" /* loads context system definitions */
#include "mc/mc.h"
-#ifdef _XBT_WIN32
-# include <xbt/win32_ucontext.h> /* context relative declarations */
-#else
-# include <ucontext.h> /* context relative declarations */
-#endif
-
/** Many integers are needed to store a pointer
*
* This is a bit paranoid about sizeof(smx_ctx_sysv_t) not being a multiple
/** Many integers are needed to store a pointer
*
* This is a bit paranoid about sizeof(smx_ctx_sysv_t) not being a multiple