From c0ff8a036aefba7f6cd10026acc81a95a7cfa361 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 3 Sep 2018 16:04:33 +0530 Subject: [PATCH] mpg123: Remove ssize_t fallback, not needed anymore The mpg123 headers now contain a definition for ssize_t and building with MSVC fails because of a redefinition for ssize_t --- ext/mpg123/gstmpg123audiodec.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ext/mpg123/gstmpg123audiodec.h b/ext/mpg123/gstmpg123audiodec.h index b865c41..e837a56 100644 --- a/ext/mpg123/gstmpg123audiodec.h +++ b/ext/mpg123/gstmpg123audiodec.h @@ -19,18 +19,6 @@ #ifndef __GST_MPG123_AUDIO_DEC_H__ #define __GST_MPG123_AUDIO_DEC_H__ -/* This is what the visual studio build in mpg123 does before including the - * original header file. Without this we get syntax errors in the - * replace_reader function declarations because it doesn't know ssize_t etc. - * It doesn't realy matter for us if the ssize_t typedef here is correct. */ -#ifdef _MSC_VER -#include -#include -#include -typedef long ssize_t; -#include -#endif - #include #include #include -- 2.7.4