X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/20facf82f92baf2401e73847b694eea761622a4c..fb2c06ad23be8a12b22bdc8e77c63f4d7c61a1bb:/include/xbt/win32_ucontext.h diff --git a/include/xbt/win32_ucontext.h b/include/xbt/win32_ucontext.h index eb4f8d250b..0cc53b69bc 100644 --- a/include/xbt/win32_ucontext.h +++ b/include/xbt/win32_ucontext.h @@ -24,23 +24,23 @@ #define UCONTEXT_H #include - typedef struct __stack { - void *ss_sp; - size_t ss_size; - int ss_flags; - } stack_t; - typedef CONTEXT mcontext_t; - typedef unsigned long __sigset_t; - typedef struct __ucontext { - unsigned long int uc_flags; - struct __ucontext *uc_link; - stack_t uc_stack; - mcontext_t uc_mcontext; - __sigset_t uc_sigmask; - } ucontext_t; - int getcontext(ucontext_t * ucp); - int setcontext(const ucontext_t * ucp); - int makecontext(ucontext_t *, void (*)(), int, ...); - int swapcontext(ucontext_t *, const ucontext_t *); - + typedef struct __stack { + void *ss_sp; + size_t ss_size; + int ss_flags; +} stack_t; +typedef CONTEXT mcontext_t; +typedef unsigned long __sigset_t; +typedef struct __ucontext { + unsigned long int uc_flags; + struct __ucontext *uc_link; + stack_t uc_stack; + mcontext_t uc_mcontext; + __sigset_t uc_sigmask; +} ucontext_t; +int getcontext(ucontext_t * ucp); +int setcontext(const ucontext_t * ucp); +int makecontext(ucontext_t *, void (*)(), int, ...); +int swapcontext(ucontext_t *, const ucontext_t *); + #endif /* UCONTEXT_H */