Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add more debug messages and add flag _I_X86 on windows platform
[simgrid.git] / src / xbt / win32_ucontext.c
index c91c39e..1d8adce 100644 (file)
@@ -59,7 +59,7 @@ int makecontext(ucontext_t * ucp, void (*func) (), int argc, ...)
   }\r
   \r
       /* Set the instruction and the stack pointer */\r
-  #ifdef I_X86_\r
+  #ifdef _I_X86_\r
   ucp->uc_mcontext.Eip = (DWORD) func;\r
   ucp->uc_mcontext.Esp = (DWORD) sp - sizeof(void*);\r
   #endif\r