Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add context ucontext for windows.
[simgrid.git] / buildtools / Cmake / gras_config.h.in
index e313981..ba3c427 100644 (file)
@@ -44,6 +44,9 @@
 /* Define if xbt contexts are based on our threads implementation or not */
 #cmakedefine CONTEXT_THREADS @CONTEXT_THREADS@
 
+/* Define to 1 if you have the <ucontext.h> header file. */
+#cmakedefine HAVE_UCONTEXT_H @HAVE_UCONTEXT_H@
+
 /* Define if xbt contexts are based on ucontext or not */
 #cmakedefine CONTEXT_UCONTEXT @CONTEXT_UCONTEXT@
 
    `char[]'. */
 #cmakedefine YYTEXT_POINTER 
 
- #ifndef __VISUALC__
-       /* Optional va_copy() implementation activation */
-       #ifndef HAVE_VA_COPY
-       #define va_copy(d, s) __VA_COPY_USE(d, s)
-       #endif
-       /* Define to id of used va_copy() implementation */
-       #cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
+/* Optional va_copy() implementation activation */
+#ifndef HAVE_VA_COPY
+#define va_copy(d, s) __VA_COPY_USE(d, s)
 #endif
+/* Define to id of used va_copy() implementation */
+#cmakedefine __VA_COPY_USE(d, s) @__VA_COPY_USE@
 
 /* Define to empty if `const' does not conform to ANSI C. */
 #cmakedefine const @const@