56
57
# warning "atomic builtins not available, using nul operations - rsyslogd will probably be racy!"
57
58
# define ATOMIC_INC(data) (++(data))
58
60
# define ATOMIC_DEC_AND_FETCH(data) (--(data))
59
61
# define ATOMIC_FETCH_32BIT(data) (data)
60
62
# define ATOMIC_STORE_1_TO_32BIT(data) (data) = 1