mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-15 21:06:32 +00:00
037c9d2b34
Original commit message from CVS: * gst/gstinfo.h: Add missing inline function. * gst/gsttrace.c: add include * gst/parse/grammar.y: remove unused code * gst/registries/gstxmlregistry.c: (make_dir): make mkdir call more portable. * tools/gst-register.c: wrap unistd.h More additions/fixes from Steve for the MSVC build. * win32/GStreamer.vcproj: * win32/Makefile: * win32/Makefile.inspect: * win32/Makefile.launch: * win32/Makefile.register: * win32/README.txt: * win32/gst-inspect.vcproj: * win32/gst-launch.vcproj: * win32/gst-register.vcproj: * win32/gstbytestream.def: * win32/gstbytestream.vcproj: * win32/gstconfig.h: * win32/gstelements.def: * win32/gstelements.vcproj: * win32/gstenumtypes.c: * win32/gstenumtypes.h: * win32/gstoptimalscheduler.def: * win32/gstoptimalscheduler.vcproj: * win32/gstreamer.def: * win32/gstspider.def: * win32/gstspider.vcproj: * win32/gstversion.h: * win32/msvc71.sln:
80 lines
1.8 KiB
C
80 lines
1.8 KiB
C
/* This header interprets the various GST_* macros that are typically *
|
|
* provided by the gstreamer-config or gstreamer.pc files. */
|
|
|
|
#ifndef __GST_CONFIG_H__
|
|
#define __GST_CONFIG_H__
|
|
|
|
/***** trick gtk-doc into believing these symbols are defined (yes, it's ugly) */
|
|
|
|
#if 0
|
|
#define GST_DISABLE_LOADSAVE_REGISTRY 1
|
|
#define GST_DISABLE_GST_DEBUG 1
|
|
#define GST_DISABLE_LOADSAVE 1
|
|
#define GST_DISABLE_PARSE 1
|
|
#define GST_DISABLE_TRACE 1
|
|
#define GST_DISABLE_ALLOC_TRACE 1
|
|
#define GST_DISABLE_REGISTRY 1
|
|
#define GST_DISABLE_ENUMTYPES 1
|
|
#define GST_DISABLE_INDEX 1
|
|
#define GST_DISABLE_PLUGIN 1
|
|
#define GST_DISABLE_URI 1
|
|
#endif
|
|
|
|
|
|
/***** disabling of subsystems *****/
|
|
|
|
/* wether or not the debugging subsystem is enabled */
|
|
/* #undef GST_DISABLE_GST_DEBUG */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_LOADSAVE */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_PARSE */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_TRACE */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_ALLOC_TRACE */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_REGISTRY */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_ENUMTYPES */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_INDEX */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_PLUGIN */
|
|
|
|
/* DOES NOT WORK */
|
|
/* #undef GST_DISABLE_URI */
|
|
|
|
/* printf extension format */
|
|
#define GST_PTR_FORMAT "P"
|
|
|
|
/* whether or not the CPU supports unaligned access */
|
|
#define GST_HAVE_UNALIGNED_ACCESS 0
|
|
|
|
/***** Deal with XML stuff, we have to handle both loadsave and registry *****/
|
|
|
|
#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
|
|
# include <libxml/parser.h>
|
|
#else
|
|
# define GST_DISABLE_LOADSAVE_REGISTRY
|
|
#endif
|
|
|
|
#ifdef WIN32
|
|
#ifdef GSTREAMER_EXPORTS
|
|
#define GSTREAMER_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define GSTREAMER_EXPORT __declspec(dllimport)
|
|
#endif
|
|
#else
|
|
#define GSTREAMER_EXPORT
|
|
#endif
|
|
|
|
#endif /* __GST_CONFIG_H__ */
|