mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-30 12:54:11 +02:00
Mark the vint member as volatile, which seems to be necessary to make
2005-08-02 Matthias Clasen <mclasen@redhat.com> * gclosure.c (union ClosureInt): Mark the vint member as volatile, which seems to be necessary to make atomic operations work on s390.
This commit is contained in:
committed by
Matthias Clasen
parent
4f016b4824
commit
f881779a8c
@@ -41,7 +41,7 @@
|
||||
|
||||
typedef union {
|
||||
GClosure closure;
|
||||
gint vint;
|
||||
volatile gint vint;
|
||||
} ClosureInt;
|
||||
|
||||
#define CHANGE_FIELD(_closure, _field, _OP, _value, _must_set, _SET_OLD, _SET_NEW) \
|
||||
|
Reference in New Issue
Block a user