Fix build error and refine definition of ssize_t on MSVC.

This commit is contained in:
mimaki
2021-12-28 17:18:59 +09:00
parent 6f5c211c78
commit 1f3a385ec5
3 changed files with 5 additions and 9 deletions
+5
View File
@@ -28,6 +28,11 @@
# define MRB_END_DECL
#endif
#if defined _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
/**
* Shared compiler macros
*/