summaryrefslogtreecommitdiffhomepage
path: root/src/transcode.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-09 22:23:39 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-09 22:23:39 +0900
commitbcd24af19ce79eff2343cb9a9165c96e24acbfa2 (patch)
tree35fcb48d294fce6ac81c5336bb0d4c8fda3799d1 /src/transcode.c
parent6faab394d721011080355b1d0fa14d925a2a7734 (diff)
downloadmruby-bcd24af19ce79eff2343cb9a9165c96e24acbfa2.tar.gz
mruby-bcd24af19ce79eff2343cb9a9165c96e24acbfa2.zip
temporal VC patch from nkshigeru
Diffstat (limited to 'src/transcode.c')
-rw-r--r--src/transcode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transcode.c b/src/transcode.c
index 5395a6e73..1240081e6 100644
--- a/src/transcode.c
+++ b/src/transcode.c
@@ -13,6 +13,9 @@
#ifdef INCLUDE_ENCODING
#include "encoding.h"
#include <sys/types.h> /* for ssize_t */
+#ifdef _MSC_VER
+typedef int ssize_t;
+#endif
#include "transcode_data.h"
#include <ctype.h>
#include "st.h"