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

This reverts commit 52fd106724.
This commit is contained in:
Ryan Lortie 2011-10-26 15:10:33 -04:00
parent 52fd106724
commit 4c038429b1

View File

@ -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;