Commit 23c904ac authored by Niels's avatar Niels

added fix for ssize_t for MSVC

parent 4f927318
...@@ -36,6 +36,11 @@ ...@@ -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
......
...@@ -36,6 +36,11 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment