gthread.h: avoid anonymous union

This is a GNU extension.

https://bugzilla.gnome.org/show_bug.cgi?id=666978
This commit is contained in:
Ryan Lortie 2012-01-02 11:38:40 -05:00
parent a07e9a5fb2
commit fc731de929

View File

@ -162,7 +162,7 @@ struct _GStaticRecMutex
pthread_t owner; pthread_t owner;
#endif #endif
gdouble dummy; gdouble dummy;
}; } unused;
}; };
#define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT } #define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT }