gweb: Use gcc atomics instead glib's ones
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 31 Oct 2011 12:19:11 +0000 (13:19 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 10 Nov 2011 12:09:50 +0000 (13:09 +0100)
commit1b45ea1b9fb70daa4b4a2905ebd9d12b9c7140d0
treeaa09d78b57d60b0829b1c017e2c58c9317d6d084
parent7042430b16001cdc85912aea5fcf64d255fcb5b3
gweb: Use gcc atomics instead glib's ones

g_atomic_int_exchange_and_add() has been removed from glib 2.30
and g_atomic_int_add() should be used. Though there are still
quite a few distros out which do not ship a glib version with
g_atomic_int_add().

Instead of maintaing a compatiblilty glib layer we just use
the built-in functions for atomic memory access.
gweb/giognutls.c
gweb/gresolv.c
gweb/gweb.c