Fix use of ssize_t with MSVC

This commit is contained in:
Chris Robinson 2014-09-12 04:26:54 -07:00
parent ca22f2dd3f
commit 713846f27a

View file

@ -5,6 +5,9 @@
#ifdef HAVE_MPG123 #ifdef HAVE_MPG123
#ifdef _MSC_VER
typedef SSIZE_T ssize_t;
#endif
#include "mpg123.h" #include "mpg123.h"
struct MPG123Decoder : public SoundDecoder struct MPG123Decoder : public SoundDecoder