mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 09:12:19 +00:00
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
This commit is contained in:
parent
794dcfbfee
commit
c0ff8a036a
1 changed files with 0 additions and 12 deletions
|
@ -19,18 +19,6 @@
|
||||||
#ifndef __GST_MPG123_AUDIO_DEC_H__
|
#ifndef __GST_MPG123_AUDIO_DEC_H__
|
||||||
#define __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/gst.h>
|
||||||
#include <gst/audio/gstaudiodecoder.h>
|
#include <gst/audio/gstaudiodecoder.h>
|
||||||
#include <mpg123.h>
|
#include <mpg123.h>
|
||||||
|
|
Loading…
Reference in a new issue