added fix for ssize_t for MSVC

This commit is contained in:
Niels 2015-06-20 14:25:49 +02:00
parent 4f92731823
commit 23c904aca8
2 changed files with 10 additions and 0 deletions

View file

@ -36,6 +36,11 @@
#endif #endif
#endif #endif
// enable ssize_t for MSVC
#ifdef _MSC_VER
using ssize_t = SSIZE_T;
#endif
/*! /*!
@brief namespace for Niels Lohmann @brief namespace for Niels Lohmann
@see https://github.com/nlohmann @see https://github.com/nlohmann

View file

@ -36,6 +36,11 @@
#endif #endif
#endif #endif
// enable ssize_t for MSVC
#ifdef _MSC_VER
using ssize_t = SSIZE_T;
#endif
/*! /*!
@brief namespace for Niels Lohmann @brief namespace for Niels Lohmann
@see https://github.com/nlohmann @see https://github.com/nlohmann