Revert "gst/parse: define pure-parser depending on bison version"
[platform/upstream/gstreamer.git] / gst / glib-compat.h
index 77b221d..5fb267b 100644 (file)
@@ -15,8 +15,8 @@
  *
  * You should have received a copy of the GNU Library General Public
  * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
  */
 
 
 #ifndef __GST_GLIB_COMPAT_H__
 #define __GST_GLIB_COMPAT_H__
 
-G_BEGIN_DECLS
+#include <glib.h>
 
-/* added in GLib 2.8 */
-#if !GLIB_CHECK_VERSION (2, 8, 0)
-#if     __GNUC__ >= 4
-#define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
-#else
-#define G_GNUC_NULL_TERMINATED
-#endif
-#endif
+G_BEGIN_DECLS
 
 G_END_DECLS