Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Not need to include win32_context header file.
[simgrid.git] / include / xbt / ex.h
index c0e20d1..573c983 100644 (file)
@@ -51,9 +51,7 @@ int gras_os_getpid(void);
 
 /*-*-* end of debugging stuff *-*-*/
 
-
-/* the machine context */
-#if defined(__EX_MCTX_MCSC__)
+#elif defined(__EX_MCTX_MCSC__)
 #include <ucontext.h>            /* POSIX.1 ucontext(3) */
 #define __ex_mctx_struct         ucontext_t uc;
 #define __ex_mctx_save(mctx)     (getcontext(&(mctx)->uc) == 0)