gst/gstbus.c: use HAVE_UNISTD_H

Original commit message from CVS:

* gst/gstbus.c:
use HAVE_UNISTD_H
* win32/common/config.h:
update config
* win32/vs6/grammar.dsp:
* win32/vs6/libgstelements.dsp:
* win32/vs6/libgstreamer.dsp:
update vs6 files
This commit is contained in:
Thomas Vander Stichele 2005-10-12 22:34:47 +00:00
parent d2f9b5f2c4
commit feeb5f939e
6 changed files with 571 additions and 201 deletions

View file

@ -1,3 +1,14 @@
2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstbus.c:
use HAVE_UNISTD_H
* win32/common/config.h:
update config
* win32/vs6/grammar.dsp:
* win32/vs6/libgstelements.dsp:
* win32/vs6/libgstreamer.dsp:
update vs6 files
2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):

View file

@ -62,7 +62,9 @@
*/
#include <errno.h>
#include <unistd.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include "gst_private.h"

View file

@ -1,198 +1,200 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* always defined to indicate that i18n is enabled */
/* #define ENABLE_NLS 1*/
/* gettext package name */
#define GETTEXT_PACKAGE "gstreamer-0.9"
/* Location of registry */
#define GST_CACHE_DIR "c:\\gstreamer"
/* macro to use to show function name */
/*#undef GST_FUNCTION*/
/* Default errorlevel to use */
#undef GST_LEVEL_DEFAULT
/* GStreamer license */
#define GST_LICENSE "LGPL"
/* Define the location where the catalogs will be installed */
#define LOCALEDIR GST_CACHE_DIR"\\locale"
/* package origin */
#define GST_ORIGIN "http://gstreamer.net"
/* package name in plugins */
#define GST_PACKAGE "GStreamer"
/* Define the version */
#define GST_VERSION "0.8.5"
/* Define the release version */
#define GST_VERSION_RELEASE "20040129_103536"
/* Define if atomic.h header file is available */
#undef HAVE_ATOMIC_H
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
#undef HAVE_BIND_TEXTDOMAIN_CODESET
/* Define if the target CPU is an Alpha */
#undef HAVE_CPU_ALPHA
/* Define if the target CPU is an ARM */
#undef HAVE_CPU_ARM
/* Define if the target CPU is a HPPA */
#undef HAVE_CPU_HPPA
/* Define if the target CPU is an x86 */
#undef HAVE_CPU_I386
/* Define if the target CPU is a IA64 */
#undef HAVE_CPU_IA64
/* Define if the target CPU is a M68K */
#undef HAVE_CPU_M68K
/* Define if the target CPU is a MIPS */
#undef HAVE_CPU_MIPS
/* Define if the target CPU is a PowerPC */
#undef HAVE_CPU_PPC
/* Define if the target CPU is a S390 */
#undef HAVE_CPU_S390
/* Define if the target CPU is a SPARC */
#undef HAVE_CPU_SPARC
/* Define if the target CPU is a x86_64 */
#undef HAVE_CPU_X86_64
/* Define to 1 if you have the `dcgettext' function. */
#undef HAVE_DCGETTEXT
/* Defined if we have dladdr () */
#undef HAVE_DLADDR
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* defined if the compiler implements __func__ */
#undef HAVE_FUNC
/* defined if the compiler implements __FUNCTION__ */
//#undef HAVE_FUNCTION
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
/* Define if libmmx is available */
#undef HAVE_LIBMMX
/* Define if libxml2 is available */
//#undef HAVE_LIBXML2
#define HAVE_LIBXML2
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
/* defined if we have makecontext () */
#undef HAVE_MAKECONTEXT
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Defined if we have posix_memalign () */
#undef HAVE_POSIX_MEMALIGN
/* defined if the compiler implements __PRETTY_FUNCTION__ */
#undef HAVE_PRETTY_FUNCTION
/* Defined if libpthread has pthread_attr_setstack () */
#undef HAVE_PTHREAD_ATTR_SETSTACK
/* Define if RDTSC is available */
#undef HAVE_RDTSC
/* Defined if we have sigaction () */
#undef HAVE_SIGACTION
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* defined if we have ucontext.h */
#undef HAVE_UCONTEXT_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define the uninstalled plugin directory */
#undef PLUGINS_BUILDDIR
/* Define the plugin directory */
#define PLUGINS_DIR "c:\\gstreamer"
/* Define if plugins should be loaded from the build tree - only developers
should use this */
#undef PLUGINS_USE_BUILDDIR
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if we should use i586 optimized stack functions */
#undef USE_FAST_STACK_TRASH
/* Define if we should poison deallocated memory */
#undef USE_POISONING
/* Version number of package */
#define VERSION "0.9.0.0"
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#define WORDS_BIGENDIAN 0
#define GST_MAJORMINOR "0.9"
/* config.h.in. Generated from configure.ac by autoheader. */
/* always defined to indicate that i18n is enabled */
/* #define ENABLE_NLS 1*/
/* gettext package name */
#define GETTEXT_PACKAGE "gstreamer-0.9"
#define PREFIX "C:\\gstreamer"
/* Location of registry */
#define GST_CACHE_DIR PREFIX "\\var\\cache"
/* macro to use to show function name */
/*#undef GST_FUNCTION*/
/* Defined if gcov is enabled to force a rebuild due to config.h changing */
/* #undef GST_GCOV_ENABLED */
/* Default errorlevel to use */
#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR
/* GStreamer license */
#define GST_LICENSE "LGPL"
/* package origin */
#define GST_ORIGIN "http://gstreamer.freedesktop.org/"
/* package name in plugins */
#define GST_PACKAGE "GStreamer"
/* Define the version */
#define GST_VERSION "0.9.3.1"
/* Define if the target CPU is an Alpha */
/* #undef HAVE_CPU_ALPHA */
/* Define if the target CPU is an ARM */
/* #undef HAVE_CPU_ARM */
/* Define if the target CPU is a HPPA */
/* #undef HAVE_CPU_HPPA */
/* Define if the target CPU is an x86 */
#define HAVE_CPU_I386 1
/* Define if the target CPU is a IA64 */
/* #undef HAVE_CPU_IA64 */
/* Define if the target CPU is a M68K */
/* #undef HAVE_CPU_M68K */
/* Define if the target CPU is a MIPS */
/* #undef HAVE_CPU_MIPS */
/* Define if the target CPU is a PowerPC */
/* #undef HAVE_CPU_PPC */
/* Define if the target CPU is a S390 */
/* #undef HAVE_CPU_S390 */
/* Define if the target CPU is a SPARC */
/* #undef HAVE_CPU_SPARC */
/* Define if the target CPU is a x86_64 */
/* #undef HAVE_CPU_X86_64 */
/* Define if the GNU dcgettext() function is already present or preinstalled.
*/
/* #undef HAVE_DCGETTEXT */
/* Defined if we have dladdr () */
/* #undef HAVE_DLADDR */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* defined if the compiler implements __func__ */
#define HAVE_FUNC 1
/* defined if the compiler implements __FUNCTION__ */
#define HAVE_FUNCTION 1
/* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define if you have the iconv() function. */
/* #undef HAVE_ICONV */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if libxml2 is available */
#define HAVE_LIBXML2 1
/* defined if we have makecontext () */
#undef HAVE_MAKECONTEXT
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */
/* defined if the compiler implements __PRETTY_FUNCTION__ */
#define HAVE_PRETTY_FUNCTION 1
/* Defined if we have register_printf_function () */
/* #undef HAVE_PRINTF_EXTENSION */
/* Define if RDTSC is available */
/* #undef HAVE_RDTSC */
/* Defined if we have sigaction () */
/* #undef HAVE_SIGACTION */
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* defined if we have ucontext.h */
#undef HAVE_UCONTEXT_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if valgrind should be used */
/* #undef HAVE_VALGRIND */
/* Defined if compiling for Windows */
#define HAVE_WIN32 1
/* library dir */
#define LIBDIR PREFIX "\\lib"
/* gettext locale dir */
#define LOCALEDIR PREFIX "\\share\\locale"
/* Name of package */
#define PACKAGE "gstreamer"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* Define the plugin directory */
#define PLUGINS_DIR PREFIX "\\lib\\gstreamer-0.9"
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if we should use i586 optimized stack functions */
#undef USE_FAST_STACK_TRASH
/* Define if we should poison deallocated memory */
#undef USE_POISONING
/* Version number of package */
#define VERSION "0.9.3.1"
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
/* #undef inline */

View file

@ -88,6 +88,129 @@ InputPath=..\..\gst\parse\grammar.y
!ENDIF
# End Source File
# Begin Source File
SOURCE=..\..\gst\gst.h
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
SOURCE=..\common\gstconfig.h
!IF "$(CFG)" == "grammar - Win32 Release"
!ELSEIF "$(CFG)" == "grammar - Win32 Debug"
# Begin Custom Build
InputPath=..\common\gstconfig.h
"..\..\gstconfig.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy /y ..\common\gstconfig.h ..\..\gst
# End Custom Build
!ENDIF
# End Source File
# Begin Source File
SOURCE=..\common\gstenumtypes.c
!IF "$(CFG)" == "grammar - Win32 Release"
# Begin Custom Build
InputPath=..\common\gstenumtypes.c
BuildCmds= \
copy /y ..\common\gstenumtypes.c ..\..\gst\gstenumtypes.c \
copy /y ..\common\gstenumtypes.c ..\..\gst\gstenumtypes.h \
"..\..\gst\gstenumtypes.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"..\..\gst\gstenumtypes.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ELSEIF "$(CFG)" == "grammar - Win32 Debug"
# Begin Custom Build
InputPath=..\common\gstenumtypes.c
BuildCmds= \
copy /y ..\common\gstenumtypes.c ..\..\gst\gstenumtypes.c \
copy /y ..\common\gstenumtypes.h ..\..\gst\gstenumtypes.h \
"..\..\gst\gstenumtypes.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"..\..\gst\gstenumtypes.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ENDIF
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstmarshal.list
!IF "$(CFG)" == "grammar - Win32 Release"
!ELSEIF "$(CFG)" == "grammar - Win32 Debug"
# Begin Custom Build
InputPath=..\..\gst\gstmarshal.list
BuildCmds= \
echo #include "glib-object.h" > gstmarshal.c.tmp \
echo #include "gstmarshal.h" >> gstmarshal.c.tmp \
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp \
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c \
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp \
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp \
move gstmarshal.h.tmp ..\..\gst\gstmarshal.h \
"..\..\gst\gstmarshal.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"..\..\gst\gstmarshal.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ENDIF
# End Source File
# Begin Source File
SOURCE=..\common\gstversion.h
!IF "$(CFG)" == "grammar - Win32 Release"
# Begin Custom Build
InputPath=..\common\gstversion.h
"..\..\gst\gstversion.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy /? ..\common\gstversion.h ..\..\gst
# End Custom Build
!ELSEIF "$(CFG)" == "grammar - Win32 Debug"
# Begin Custom Build
InputPath=..\common\gstversion.h
"..\..\gst\gstversion.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
copy /y ..\common\gstversion.h ..\..\gst
# End Custom Build
!ENDIF
# End Source File
# End Target
# End Project

View file

@ -57,7 +57,7 @@ LINK32=link.exe
# Begin Special Build Tool
TargetPath=.\Release\libgstelements.dll
SOURCE="$(InputPath)"
PostBuild_Cmds=mkdir c:\gstreamer\plugins copy /Y $(TargetPath) c:\gstreamer\plugins
PostBuild_Cmds=mkdir c:\gstreamer\lib mkdir c:\gstreamer\lib\gstreamer-0.9 copy /Y $(TargetPath) c:\gstreamer\plugins
# End Special Build Tool
!ELSEIF "$(CFG)" == "libgstelements - Win32 Debug"
@ -88,7 +88,7 @@ LINK32=link.exe
# Begin Special Build Tool
TargetPath=.\Debug\libgstelements.dll
SOURCE="$(InputPath)"
PostBuild_Cmds=mkdir c:\gstreamer\plugins copy /Y $(TargetPath) c:\gstreamer\plugins
PostBuild_Cmds=mkdir c:\gstreamer\lib mkdir c:\gstreamer\lib\gstreamer-0.9 copy /Y $(TargetPath) c:\gstreamer\plugins
# End Special Build Tool
!ENDIF

View file

@ -318,6 +318,238 @@ SOURCE=..\common\libgstreamer.def
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=..\..\gst\gettext.h
# End Source File
# Begin Source File
SOURCE="..\..\gst\glib-compat.h"
# End Source File
# Begin Source File
SOURCE="..\..\gst\gst-i18n-app.h"
# End Source File
# Begin Source File
SOURCE="..\..\gst\gst-i18n-lib.h"
# End Source File
# Begin Source File
SOURCE=..\..\gst\gst.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gst_private.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstbin.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstbuffer.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstbus.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstcaps.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstchildproxy.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstclock.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstcompat.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstconfig.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstconfig.h.in
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstelement.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstelementfactory.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstenumtypes.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsterror.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstevent.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstfilter.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstformat.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstghostpad.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstindex.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstindexfactory.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstinfo.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstinterface.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstiterator.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstmacros.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstmarshal.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstmemchunk.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstmessage.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstminiobject.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstobject.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstpad.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstpadtemplate.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstparse.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstpipeline.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstplugin.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstpluginfeature.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstquery.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstqueue.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstregistry.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gststructure.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstsystemclock.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsttaglist.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsttagsetter.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsttask.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsttrace.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsttrashstack.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsttypefind.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsttypefindfactory.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsturi.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gsturitype.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstutils.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstvalue.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstversion.h
# End Source File
# Begin Source File
SOURCE=..\..\gst\gstxml.h
# End Source File
# End Group
# Begin Group "Resource Files"