Commit c0ff8a03 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan

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
parent 794dcfbf
......@@ -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 <tchar.h>
#include <stdlib.h>
#include <sys/types.h>
typedef long ssize_t;
#include <stdint.h>
#endif
#include <gst/gst.h>
#include <gst/audio/gstaudiodecoder.h>
#include <mpg123.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment