Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[windows] fix a typo in 32bits detection
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 28 Jul 2015 12:53:17 +0000 (14:53 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 28 Jul 2015 12:53:17 +0000 (14:53 +0200)
src/xbt/win32_ucontext.c

index ab72eb1..bd287d6 100644 (file)
@@ -65,7 +65,7 @@ int makecontext(ucontext_t * ucp, void (*func) (), int argc, ...)
   }
   
       /* Set the instruction and the stack pointer */
   }
   
       /* Set the instruction and the stack pointer */
-  #if defined(_I_X86_) || defined(__i383) || defined(__i383__)
+  #if defined(_I_X86_) || defined(__i386) || defined(__i386__)
   ucp->uc_mcontext.Eip = (DWORD) func;
   ucp->uc_mcontext.Esp = (DWORD) sp - sizeof(void*);
   #elif defined(_IA64_) || defined(__ia64) || defined(__ia64__)
   ucp->uc_mcontext.Eip = (DWORD) func;
   ucp->uc_mcontext.Esp = (DWORD) sp - sizeof(void*);
   #elif defined(_IA64_) || defined(__ia64) || defined(__ia64__)