From 713846f27a05c2dbe1ce5475fa34327ffc825e70 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 12 Sep 2014 04:26:54 -0700 Subject: [PATCH] Fix use of ssize_t with MSVC --- src/sound/mpg123_decoder.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sound/mpg123_decoder.h b/src/sound/mpg123_decoder.h index 8b2b64fa79..95d3d5ec86 100644 --- a/src/sound/mpg123_decoder.h +++ b/src/sound/mpg123_decoder.h @@ -5,6 +5,9 @@ #ifdef HAVE_MPG123 +#ifdef _MSC_VER +typedef SSIZE_T ssize_t; +#endif #include "mpg123.h" struct MPG123Decoder : public SoundDecoder