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
Fix PROCESSOR_ flags
[simgrid.git]
/
src
/
simix
/
RawContext.cpp
diff --git
a/src/simix/RawContext.cpp
b/src/simix/RawContext.cpp
index
1ea7806
..
4405027
100644
(file)
--- a/
src/simix/RawContext.cpp
+++ b/
src/simix/RawContext.cpp
@@
-123,7
+123,7
@@
extern "C" raw_stack_t raw_makecontext(void* malloced_stack, int stack_size,
rawctx_entry_point_t entry_point, void* arg);
extern "C" void raw_swapcontext(raw_stack_t* old, raw_stack_t new_context);
rawctx_entry_point_t entry_point, void* arg);
extern "C" void raw_swapcontext(raw_stack_t* old, raw_stack_t new_context);
-#if PROCESSOR_x86_64
+#if
SIMGRID_
PROCESSOR_x86_64
__asm__ (
#if defined(__APPLE__)
".text\n"
__asm__ (
#if defined(__APPLE__)
".text\n"
@@
-203,7
+203,7
@@
__asm__ (
" pop %rdi\n"
" ret\n"
);
" pop %rdi\n"
" ret\n"
);
-#elif PROCESSOR_i686
+#elif
SIMGRID_
PROCESSOR_i686
__asm__ (
#if defined(__APPLE__) || defined(_WIN32)
".text\n"
__asm__ (
#if defined(__APPLE__) || defined(_WIN32)
".text\n"