From b8903774d4728f1b2b9260d25bb2b8295383703f Mon Sep 17 00:00:00 2001 From: cherierm Date: Fri, 16 Feb 2007 15:28:59 +0000 Subject: [PATCH 1/1] borland compiler use now windows thread (instead of task state), for that the new macro USE_WIN_THREADS is defined git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3157 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/win32/compiler/borland.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/win32/compiler/borland.h b/src/win32/compiler/borland.h index 939e26532e..b337e61d79 100644 --- a/src/win32/compiler/borland.h +++ b/src/win32/compiler/borland.h @@ -401,4 +401,9 @@ typedef int socklen_t; #define __EX_MCTX_SJLJ__ #endif +/* this is used in context managment. */ +#ifndef USE_WIN_THREADS +#define USE_WIN_THREADS +#endif + #endif /* #ifndef __XBT_BORLAND_COMPILER_CONFIG_H__ */ -- 2.20.1