/* Functions of sysv context mecanism: lua inherites them */
-/* Copyright (c) 2004-2010 the SimGrid team. All rights reserved. */
+/* Copyright (c) 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#endif /*CONTEXT_STACK_SIZE */
#include "context_sysv_config.h" /* loads context system definitions */
+#ifdef _XBT_WIN32
+#include <win32_ucontext.h> /* context relative declarations */
+#else
#include <ucontext.h> /* context relative declarations */
-
+#endif
typedef struct s_smx_ctx_sysv {
s_smx_ctx_base_t super; /* Fields of super implementation */
ucontext_t uc; /* the thread that execute the code */