patch for s390 from fedora test 2 rpms

Original commit message from CVS:
patch for s390 from fedora test 2 rpms
This commit is contained in:
Thomas Vander Stichele 2004-02-16 12:28:36 +00:00
parent 246646ce25
commit 05057d9245
3 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-02-16 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstatomic_impl.h: Fedora 2 test package patch for S390
2004-02-15 Julien MOUTTE <julien@moutte.net>
* gst/gstbin.c: (gst_bin_change_state), (gst_bin_iterate): Fix a big

2
common

@ -1 +1 @@
Subproject commit 19cb5127af898da4a72109547e9c31c4e14cc964
Subproject commit d821172609916bc61bbbca7f8d2e6cf0ca1ab47a

View file

@ -383,6 +383,7 @@ gst_atomic_int_dec_and_test (GstAtomicInt *aint)
/***** 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) { }