diff options
author | David Schleef <ds@schleef.org> | 2004-07-03 04:59:12 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-07-03 04:59:12 +0000 |
commit | f2dcf4e048197609d280b0f181bb3fe52788c1f1 (patch) | |
tree | f53b3cdfe8dbabbb823e04726d0570c7ce675940 /gst/gstxml.h | |
parent | 074bcabf9387acbc9142117a30a3cd95e1225ae4 (diff) |
gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
Original commit message from CVS:
* gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
* gst/gstobject.h:
* gst/gstparse.h:
* gst/gsttrace.h:
* gst/gstxml.h:
Diffstat (limited to 'gst/gstxml.h')
-rw-r--r-- | gst/gstxml.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/gstxml.h b/gst/gstxml.h index 6c12c3e181..db34c26f1c 100644 --- a/gst/gstxml.h +++ b/gst/gstxml.h @@ -89,6 +89,7 @@ G_END_DECLS #else /* GST_DISABLE_LOADSAVE */ +#if defined _GNUC_ && _GNUC_ >= 3 #pragma GCC poison gst_xml_write #pragma GCC poison gst_xml_new #pragma GCC poison gst_xml_parse_doc @@ -96,6 +97,7 @@ G_END_DECLS #pragma GCC poison gst_xml_parse_memory #pragma GCC poison gst_xml_get_element #pragma GCC poison gst_xml_get_topelements +#endif #endif /* GST_DISABLE_LOADSAVE */ |