mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
invert gthread-impl includes
configure.ac defined G_THREAD_SOURCE and gthread-impl would #include it. Instead, since we only have two thread implementations now, and since we always use the Windows one only on Windows, move the logic to the Makefile, predicated on 'if OS_WIN32'. Then have the chosen backend do the #include "gthread-impl.c" from there. Remove the G_THREAD_SOURCE define from configure.ac.
This commit is contained in:
@@ -31,13 +31,6 @@
|
||||
* MT safe
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "glib.h"
|
||||
#include "gthreadprivate.h"
|
||||
|
||||
#include G_THREAD_SOURCE
|
||||
|
||||
void
|
||||
g_thread_init (GThreadFunctions *init)
|
||||
{
|
||||
|
Reference in New Issue
Block a user