Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Borland uses the thread implementation of the contextes
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Mar 2007 16:51:39 +0000 (16:51 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Mar 2007 16:51:39 +0000 (16:51 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3234 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/win32/compiler/borland.h

index b337e61..6317ef7 100644 (file)
@@ -347,10 +347,6 @@ the double. For now, GRAS requires the structures to be compacted. */
 #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
-#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
@@ -402,8 +398,12 @@ typedef int socklen_t;
 #endif 
 
 /* this is used in context managment. */
 #endif 
 
 /* this is used in context managment. */
-#ifndef USE_WIN_THREADS
-#define USE_WIN_THREADS
+#ifdef CONTEXT_UCONTEXT
+#undef CONTEXT_UCONTEXT
+#endif
+
+#ifndef CONTEXT_THREADS
+#define CONTEXT_THREADS
 #endif
 
 #endif /* #ifndef __XBT_BORLAND_COMPILER_CONFIG_H__ */
 #endif
 
 #endif /* #ifndef __XBT_BORLAND_COMPILER_CONFIG_H__ */