#cmakedefine _WIN32 @_WIN32@ /*this variable is set if it is a 32 bits windows platform*/
#cmakedefine _WIN64 @_WIN64@ /*this variable is set if it is a 64 bits windows platform*/
#cmakedefine __VISUALC__ @__VISUALC__@
-#cmakedefine __BORLANDC__ @__BORLANDC__@
#ifdef _XBT_WIN32
#ifndef __GNUC__
#cmakedefine __GNUC__ @__GNUC__@
#endif
#endif
+#ifdef _MSC_VER /* MSVC has no ssize_t, and I fail to use the SSIZE_T declared in BaseTsd.h */
+ #if defined(_WIN64)
+ typedef __int64 ssize_t;
+ #else
+ typedef long ssize_t;
+ #endif
+#endif
/* Define to 1 if mmalloc is compiled in. */
#cmakedefine HAVE_MMALLOC @HAVE_MMALLOC@