diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mruby/common.h b/include/mruby/common.h index 90c97cf65..c5cfaeb50 100644 --- a/include/mruby/common.h +++ b/include/mruby/common.h @@ -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 */ |
