updated .h files with // fixes
[platform/upstream/gstreamer.git] / gst / gstconfig.h
1 /* This header interprets the various GST_* macros that are typically   *
2  * provided by the gstreamer-config or gstreamer.pc files.              */
3
4 #ifndef __GST_CONFIG_H__
5 #define __GST_CONFIG_H__
6
7
8 /***** We include config.h in case someone perhaps used a gstreamer.m4 or
9        something else that provides funky overrides.  BEWARE! *****/
10
11 #ifdef HAVE_CONFIG_H
12 #include "config.h"
13 #endif /* HAVE_CONFIG_H */
14
15
16 /***** Deal with XML stuff, we have to handle both loadsave and registry *****/
17
18 #if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
19 #ifdef HAVE_LIBXML2
20   #include <libxml/parser.h>
21 #else /* impossibly broken header namespacing */
22   #include <parser.h>
23 #endif
24  
25   /* Include compatability defines: if libxml hasn't already defined these, */
26   /* we have an old version 1.x */
27   #ifndef xmlChildrenNode
28     #define xmlChildrenNode childs
29     #define xmlRootNode root
30   #endif
31   
32 #else
33   #define GST_DISABLE_LOADSAVE_REGISTRY
34 #endif
35
36 #endif /* __GST_CONFIG_H__ */