GtkSharp/sources/gstreamer-parse.patch

20 lines
790 B
Diff
Raw Normal View History

Index: gstreamer-0.6.4/gst/gstatomic_impl.h
===================================================================
@@ -323,7 +323,7 @@
}
/***** MIPS *****/
-#elif defined(HAVE_CPU_MIPS) && defined(__GNUC__)
+#elif defined(HAVE_CPU_MIPS) && defined(__GNUC__) && 0
GST_INLINE_FUNC void gst_atomic_int_init (GstAtomicInt *aint, gint val) { aint->counter = val; }
GST_INLINE_FUNC void gst_atomic_int_destroy (GstAtomicInt *aint) { }
@@ -375,7 +375,6 @@
/***** S/390 *****/
#elif defined(HAVE_CPU_S390) && defined(__GNUC__)
-typedef struct { volatile int counter; } atomic_t __attribute__ ((aligned (4)));
GST_INLINE_FUNC void gst_atomic_int_init (GstAtomicInt *aint, gint val) { aint->counter = val; }
GST_INLINE_FUNC void gst_atomic_int_destroy (GstAtomicInt *aint) { }