summaryrefslogtreecommitdiff
path: root/gthread
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2011-10-18 13:34:06 +0200
committerAlexander Larsson <alexl@redhat.com>2011-10-18 13:34:06 +0200
commitbe770969e93f989d7165b240c4e7e5e6ac9c0587 (patch)
treebea215b7fc80f1df69452b774592e3eab757d573 /gthread
parent735420e54690d5971a0e258e12fff6ee79ae34a6 (diff)
downloadglib-be770969e93f989d7165b240c4e7e5e6ac9c0587.tar.gz
Don't define GLIB_COMPILATION in libgthread
This was turning all the GLIB_VARs in the glib headers into dllexports on windows, causing all sort of nastiness. libgthread is mostly empty now anyway, so we don't need any GLIB_COMPILATION like flag.
Diffstat (limited to 'gthread')
-rw-r--r--gthread/gthread-impl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c
index fd03b1d68..c7f61a37f 100644
--- a/gthread/gthread-impl.c
+++ b/gthread/gthread-impl.c
@@ -36,13 +36,9 @@
void
g_thread_init (gpointer init)
{
- if (init != NULL)
- g_warning ("GThread system no longer supports custom thread implementations.");
}
void
g_thread_init_with_errorcheck_mutexes (gpointer vtable)
{
- g_assert (vtable == NULL);
- g_warning ("GThread system no longer supports errorcheck mutexes.");
}