X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/05b43f9e459144d1a07eabea4258a77b7cd14c3c..b4fdc66c6172f7b1e5b487f4155ee93a6ccab5a6:/include/simgrid_config.h.in diff --git a/include/simgrid_config.h.in b/include/simgrid_config.h.in index 45d389d305..354fceccc7 100644 --- a/include/simgrid_config.h.in +++ b/include/simgrid_config.h.in @@ -52,13 +52,19 @@ #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@