From: cherierm Date: Fri, 16 Feb 2007 15:28:59 +0000 (+0000) Subject: borland compiler use now windows thread (instead of task state), for that the new... X-Git-Tag: v3.3~2202 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b8903774d4728f1b2b9260d25bb2b8295383703f?ds=sidebyside;hp=6fe4fa359ecb9b9941fe5800f147c247d228e3a0 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 --- 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__ */