Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill broken portability bits for visual and macosx
[simgrid.git] / src / win32 / compiler / borland.h
index b337e61..840d627 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
 
-#ifdef USE_UCONTEXT
-#undef USE_UCONTEXT
-#endif
-
 
 /* Define to id of used va_copy() implementation */
 #define __VA_COPY_USE __VA_COPY_USE_C99
@@ -394,7 +390,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__
@@ -402,8 +397,15 @@ typedef int socklen_t;
 #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 1
 #endif
 
+
+
+
 #endif /* #ifndef __XBT_BORLAND_COMPILER_CONFIG_H__ */