[beast] BIRNET: fix g_atomic_int_get/g_atomic_pointer_get macro use
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast] BIRNET: fix g_atomic_int_get/g_atomic_pointer_get macro use
- Date: Sun, 25 Apr 2010 00:10:06 +0000 (UTC)
commit f32f60d8cf367f9c24698d23036e6e47b19e9ecb
Author: Tim Janik <timj gtk org>
Date: Sun Apr 25 01:49:33 2010 +0200
BIRNET: fix g_atomic_int_get/g_atomic_pointer_get macro use
birnet/birnetthreadimpl.cc | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/birnet/birnetthreadimpl.cc b/birnet/birnetthreadimpl.cc
index e06f4fe..62036fa 100644
--- a/birnet/birnetthreadimpl.cc
+++ b/birnet/birnetthreadimpl.cc
@@ -1479,18 +1479,22 @@ fallback_thread_exit (gpointer retval)
#ifdef g_atomic_int_get
static int
-(g_atomic_int_get) (volatile int *atomic)
+birnet_g_atomic_int_get (volatile int *atomic)
{
return g_atomic_int_get (atomic);
}
+#undef g_atomic_int_get
+#define g_atomic_int_get birnet_g_atomic_int_get
#endif
#ifdef g_atomic_pointer_get
static void*
-(g_atomic_pointer_get) (volatile void **atomic)
+birnet_g_atomic_pointer_get (volatile void **atomic)
{
return (void*) g_atomic_pointer_get (atomic);
}
+#undef g_atomic_pointer_get
+#define g_atomic_pointer_get birnet_g_atomic_pointer_get
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]