bitlock: don't use asm goto on older gcc
authorChristophe Fergeau <cfergeau@redhat.com>
Wed, 8 Jun 2011 09:18:26 +0000 (11:18 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Jun 2011 02:39:35 +0000 (22:39 -0400)
commit602f8baa0b572ef8693a6ec6711ecca0399a6b3f
treedc2a8741cd3df9f6b7cfedf3aad7c2ed2a8d737b
parentd6b341c38c94bf684e84a5d2f0af1a5bc3c5ae1c
bitlock: don't use asm goto on older gcc

asm goto was addded in gcc 4.5 so don't try to use it on gcc versions
older than this one. This is achieved by explicitly checking gcc
version, an alternative would be to try to compile a program using
asm volatile in configure.

https://bugzilla.gnome.org/show_bug.cgi?id=651959
glib/gbitlock.c