[glib] Revert "gthread: G_STATIC_MUTEX_INIT: Fix this for the non-win32 case."



commit 4c038429b10a961b59b0c4a5c7ede40fe5aee494
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Oct 26 15:10:33 2011 -0400

    Revert "gthread: G_STATIC_MUTEX_INIT: Fix this for the non-win32 case."
    
    This reverts commit 52fd106724aa79ad57ecaa7ad9d340f8c89da06d.

 glib/deprecated/gthread.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h
index 987fc90..095ecc2 100644
--- a/glib/deprecated/gthread.h
+++ b/glib/deprecated/gthread.h
@@ -124,15 +124,7 @@ void     g_thread_foreach      (GFunc             thread_func,
 #endif
 
 #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl
-
-#ifndef G_OS_WIN32
-/* The use of PTHREAD_MUTEX_INITIALIZER is arbitrary.
- * but that struct field is unused anyway. */
-#define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER }
-#else
 #define G_STATIC_MUTEX_INIT { NULL }
-#endif
-
 typedef struct
 {
   GMutex *mutex;



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