git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3257
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
#define va_copy(d, s) __VA_COPY_USE(d, s)
#endif
#define va_copy(d, s) __VA_COPY_USE(d, s)
#endif
-#ifdef USE_UCONTEXT
-#undef USE_UCONTEXT
+/* xbt contexts are based on our threads implementation */
+#ifndef CONTEXT_THREADS
+#define CONTEXT_THREADS
+/* xbt contexts are not based on ucontext */
+#ifdef CONTEXT_UCONTEXT
+#undef CONTEXT_UCONTEXT
+#endif
/* Define to id of used va_copy() implementation */
#define __VA_COPY_USE __VA_COPY_USE_C99
/* Define to id of used va_copy() implementation */
#define __VA_COPY_USE __VA_COPY_USE_C99
#define __EX_MCTX_SJLJ__
#endif
#define __EX_MCTX_SJLJ__
#endif
-/* this is used in context managment. */
-#ifndef USE_WIN_THREADS
-#define USE_WIN_THREADS
-#endif
#endif /* #ifndef __XBT_VISUALC_COMPILER_CONFIG_H__ */
#endif /* #ifndef __XBT_VISUALC_COMPILER_CONFIG_H__ */