added fix for ssize_t for MSVC
This commit is contained in:
parent
4f92731823
commit
23c904aca8
2 changed files with 10 additions and 0 deletions
|
@ -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 @@
|
||||||
#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
|
||||||
|
|
Loading…
Reference in a new issue