From e5b033d47fb71e1aa50b25a65f86abe4a003ccc5 Mon Sep 17 00:00:00 2001 From: cherierm Date: Tue, 13 Mar 2007 13:24:40 +0000 Subject: [PATCH] define CONTEXT_THREADS to 1 git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3258 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/win32/compiler/borland.h | 2 +- src/win32/compiler/visualc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win32/compiler/borland.h b/src/win32/compiler/borland.h index 6317ef75db..a39c375f6a 100644 --- a/src/win32/compiler/borland.h +++ b/src/win32/compiler/borland.h @@ -403,7 +403,7 @@ typedef int socklen_t; #endif #ifndef CONTEXT_THREADS -#define CONTEXT_THREADS +#define CONTEXT_THREADS 1 #endif #endif /* #ifndef __XBT_BORLAND_COMPILER_CONFIG_H__ */ diff --git a/src/win32/compiler/visualc.h b/src/win32/compiler/visualc.h index d4c97c8b73..699003dd76 100644 --- a/src/win32/compiler/visualc.h +++ b/src/win32/compiler/visualc.h @@ -350,7 +350,7 @@ the double. For now, GRAS requires the structures to be compacted. */ /* xbt contexts are based on our threads implementation */ #ifndef CONTEXT_THREADS -#define CONTEXT_THREADS +#define CONTEXT_THREADS 1 #endif /* xbt contexts are not based on ucontext */ -- 2.20.1