gstreamer/win32/gstconfig.h
Sebastien Moutte b4e68ab0a3 updates for the win32 build (patch from Sebastien Moutte)
Original commit message from CVS:

* gst/elements/gstelements.c:
* win32/GStreamer.vcproj:
* win32/config.h:
* win32/dirent.c: (_tseekdir):
* win32/gst-inspect.vcproj:
* win32/gst-launch.vcproj:
* win32/gstconfig.h:
* win32/gstelements.vcproj:
* win32/gstenumtypes.c: (gst_object_flags_get_type):
* win32/gstreamer.def:
* win32/msvc71.sln:
updates for the win32 build (patch from Sebastien Moutte)
2005-10-10 13:52:18 +00:00

89 lines
2.1 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
/***** default padding of structures *****/
#define GST_PADDING 4
#define GST_PADDING_INIT {0}
#define LIBDIR "win32:libdir define in vcproj"
#define PACKAGE "temp seb package"
/***** 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
#define GST_PLUGIN_EXPORT __declspec(dllexport) extern
#ifdef GST_EXPORTS
#define GST_EXPORT __declspec(dllexport) extern
#else
#define GST_EXPORT __declspec(dllimport) extern
#endif
#else /* not WIN32 */
#define GST_PLUGIN_EXPORT
#define GST_EXPORT extern
#endif
#endif /* __GST_CONFIG_H__ */