Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
define CONTEXT_THREADS to 1
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 13 Mar 2007 13:24:40 +0000 (13:24 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 13 Mar 2007 13:24:40 +0000 (13:24 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3258 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/win32/compiler/borland.h
src/win32/compiler/visualc.h

index 6317ef7..a39c375 100644 (file)
@@ -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__ */
index d4c97c8..699003d 100644 (file)
@@ -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 */