mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
check for process.h, declares getpid() on Windows
Original commit message from CVS: * configure.ac: * win32/common/config.h: * win32/common/config.h.in: check for process.h, declares getpid() on Windows * gst/gstinfo.c: include process.h if we have it * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new): * gst/gstmemchunk.h: fix signedness issues * win32/common/libgstreamer.def: fix get_type's
This commit is contained in:
parent
7490994ce6
commit
593932d3ed
8 changed files with 34 additions and 9 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* configure.ac:
|
||||
* win32/common/config.h:
|
||||
* win32/common/config.h.in:
|
||||
check for process.h, declares getpid() on Windows
|
||||
* gst/gstinfo.c:
|
||||
include process.h if we have it
|
||||
* gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
|
||||
* gst/gstmemchunk.h:
|
||||
fix signedness issues
|
||||
* win32/common/libgstreamer.def:
|
||||
fix get_type's
|
||||
|
||||
2005-10-16 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
|
||||
|
|
|
@ -260,6 +260,7 @@ dnl Check for ucontext.h
|
|||
AC_CHECK_HEADERS([ucontext.h])
|
||||
AC_CHECK_HEADERS([sys/socket.h], HAVE_SYS_SOCKET_H=yes)
|
||||
AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes")
|
||||
AC_CHECK_HEADERS([process.h])
|
||||
|
||||
dnl *** checks for library functions ***
|
||||
|
||||
|
|
|
@ -92,20 +92,23 @@
|
|||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
|
||||
#ifdef HAVE_DLFCN_H
|
||||
#include <dlfcn.h>
|
||||
# include <dlfcn.h>
|
||||
#endif
|
||||
#ifdef HAVE_PRINTF_EXTENSION
|
||||
#include <printf.h>
|
||||
# include <printf.h>
|
||||
#endif
|
||||
#include <stdio.h> /* fprintf */
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h> /* getpid on UNIX */
|
||||
#endif
|
||||
#ifdef HAVE_PROCESS_H
|
||||
# include <process.h> /* getpid on win32 */
|
||||
#endif
|
||||
#include <string.h> /* G_VA_COPY */
|
||||
#include "gst_private.h"
|
||||
#include "gstutils.h"
|
||||
#ifdef HAVE_VALGRIND
|
||||
#include <valgrind/valgrind.h>
|
||||
# include <valgrind/valgrind.h>
|
||||
#endif
|
||||
#include <glib/gprintf.h> /* g_sprintf */
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ static gboolean
|
|||
populate (GstMemChunk * mem_chunk)
|
||||
{
|
||||
guint8 *area;
|
||||
gint i;
|
||||
guint i;
|
||||
|
||||
if (mem_chunk->cleanup)
|
||||
return FALSE;
|
||||
|
@ -125,7 +125,7 @@ populate (GstMemChunk * mem_chunk)
|
|||
* MT safe.
|
||||
*/
|
||||
GstMemChunk *
|
||||
gst_mem_chunk_new (gchar * name, gint atom_size, gulong area_size, gint type)
|
||||
gst_mem_chunk_new (gchar * name, guint atom_size, gulong area_size, gint type)
|
||||
{
|
||||
GstMemChunk *mem_chunk;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ G_BEGIN_DECLS
|
|||
typedef struct _GstMemChunk GstMemChunk;
|
||||
|
||||
GstMemChunk* gst_mem_chunk_new (gchar *name,
|
||||
gint atom_size,
|
||||
guint atom_size,
|
||||
gulong area_size,
|
||||
gint type);
|
||||
|
||||
|
|
|
@ -126,6 +126,9 @@
|
|||
/* Defined if we have register_printf_function () */
|
||||
#undef HAVE_PRINTF_EXTENSION
|
||||
|
||||
/* Define to 1 if you have the <process.h> header file. */
|
||||
#define HAVE_PROCESS_H 1
|
||||
|
||||
/* Define if RDTSC is available */
|
||||
#undef HAVE_RDTSC
|
||||
|
||||
|
|
|
@ -126,6 +126,9 @@
|
|||
/* Defined if we have register_printf_function () */
|
||||
#undef HAVE_PRINTF_EXTENSION
|
||||
|
||||
/* Define to 1 if you have the <process.h> header file. */
|
||||
#define HAVE_PROCESS_H 1
|
||||
|
||||
/* Define if RDTSC is available */
|
||||
#undef HAVE_RDTSC
|
||||
|
||||
|
|
|
@ -157,11 +157,12 @@ EXPORTS
|
|||
gst_caps_is_fixed
|
||||
gst_caps_to_string
|
||||
gst_caps_from_string
|
||||
gst_list_get_type
|
||||
gst_fourcc_get_type
|
||||
gst_double_range_get_type
|
||||
gst_fourcc_get_type
|
||||
gst_int_range_get_type
|
||||
gst_fraction_get_type
|
||||
gst_value_list_get_type
|
||||
gst_value_array_get_type
|
||||
gst_structure_new
|
||||
gst_caps_new_full
|
||||
gst_caps_append
|
||||
|
|
Loading…
Reference in a new issue