mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
co/: add AX_CREATE_STDINT_H to get correct type definitions for a52dec in _stdint.h.
Original commit message from CVS: 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de> * common/m4/ax_create_stdint_h.m4: * configure.ac: add AX_CREATE_STDINT_H to get correct type definitions for a52dec in _stdint.h. * Makefile.am: remove generated _stdint.h in DISTCLEANFILES * ext/a52dec/gsta52dec.c: include _stdint.h for a52dec. (should fix #133064)
This commit is contained in:
parent
fafba83f24
commit
6aca7ca588
5 changed files with 16 additions and 18 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* common/m4/ax_create_stdint_h.m4:
|
||||
* configure.ac:
|
||||
add AX_CREATE_STDINT_H to get correct type definitions for a52dec in
|
||||
_stdint.h.
|
||||
* Makefile.am:
|
||||
remove generated _stdint.h in DISTCLEANFILES
|
||||
* ext/a52dec/gsta52dec.c:
|
||||
include _stdint.h for a52dec. (should fix #133064)
|
||||
|
||||
2004-02-02 Jeremy Simon <jesimon@libertysurf.fr>
|
||||
|
||||
* gst/tags/gstvorbistag.c: (gst_vorbis_tag_add),
|
||||
|
|
|
@ -38,6 +38,8 @@ EXTRA_DIST=gst-plugins.spec depcomp \
|
|||
AUTHORS COPYING COPYING.LIB README RELEASE REQUIREMENTS \
|
||||
ChangeLog autogen.sh common m4
|
||||
|
||||
DISTCLEANFILES=_stdint.h
|
||||
|
||||
dist-hook:
|
||||
rm -rf `find $(distdir)/common -name CVS`
|
||||
rm -rf `find $(distdir)/m4 -name CVS`
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 508678c12ea745e207eb8bb3be12c156e3bb698c
|
||||
Subproject commit ab32709acc23a4a1b458823fd094327332408035
|
|
@ -82,6 +82,7 @@ AC_ISC_POSIX
|
|||
|
||||
AC_HEADER_STDC([])
|
||||
AC_C_INLINE
|
||||
AX_CREATE_STDINT_H
|
||||
|
||||
dnl Check for a way to display the function name in debug output
|
||||
GST_CHECK_FUNCTION()
|
||||
|
|
|
@ -24,23 +24,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#else
|
||||
/* (Ronald) hacky... can't include stdint.h because it's not available
|
||||
* everywhere. however, a52dec wants uint8_t/uint32_t... how? */
|
||||
#ifndef __uint8_t_defined
|
||||
#define __uint8_t_defined
|
||||
typedef guint8 uint8_t;
|
||||
#endif
|
||||
|
||||
#ifndef __uint32_t_defined
|
||||
#define __uint32_t_defined
|
||||
typedef guint32 uint32_t;
|
||||
#endif
|
||||
/* grosj... but it works (tm) */
|
||||
#endif /* HAVE_STDINT_H */
|
||||
#include "_stdint.h"
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <a52dec/a52.h>
|
||||
|
|
Loading…
Reference in a new issue