mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix build error and refine definition of ssize_t on MSVC.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user