[glib] win32: fix function name clash



commit 67e28068e14428afe8335a1503ea7d734419326d
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Oct 12 22:49:39 2011 -0400

    win32: fix function name clash

 glib/gthread-win32.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c
index 2babc92..c8af9c8 100644
--- a/glib/gthread-win32.c
+++ b/glib/gthread-win32.c
@@ -476,7 +476,7 @@ g_system_thread_exit (void)
 }
 
 static guint __stdcall
-g_thread_proxy (gpointer data)
+g_thread_win32_proxy (gpointer data)
 {
   GThreadData *self = (GThreadData*) data;
 
@@ -508,7 +508,7 @@ g_system_thread_new (GThreadFunc   func,
 
   retval->joinable = joinable;
 
-  retval->thread = (HANDLE) _beginthreadex (NULL, stack_size, g_thread_proxy,
+  retval->thread = (HANDLE) _beginthreadex (NULL, stack_size, g_thread_win32_proxy,
 					    retval, 0, &ignore);
 
   if (retval->thread == NULL)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]