Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Factorize the definition of socklen_t between all compilers
[simgrid.git] / src / win32 / compiler / visualc.h
index d4c97c8..bc84a0b 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 */
@@ -396,7 +396,6 @@ the double. For now, GRAS requires the structures to be compacted. */
 
 /* types */
 typedef unsigned int uint32_t;
-typedef int socklen_t;
 
 /* Choose setjmp as exception implementation */
 #ifndef __EX_MCTX_SJLJ__