diff options
author | Alexander Larsson <alexl@redhat.com> | 2011-10-18 14:15:07 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2011-10-18 14:15:07 +0200 |
commit | cf3f1b026b13fe377057f6e1102eefaad1e24c72 (patch) | |
tree | 723888713d785815f5c2cf83e0f8c276d0f712e4 /gthread | |
parent | be770969e93f989d7165b240c4e7e5e6ac9c0587 (diff) | |
download | glib-cf3f1b026b13fe377057f6e1102eefaad1e24c72.tar.gz |
Actually Don't define GLIB_COMPILATION in libgthread
Last commit was wrong, fixing it up
Diffstat (limited to 'gthread')
-rw-r--r-- | gthread/Makefile.am | 1 | ||||
-rw-r--r-- | gthread/gthread-impl.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gthread/Makefile.am b/gthread/Makefile.am index 4cf4df050..325fec44a 100644 --- a/gthread/Makefile.am +++ b/gthread/Makefile.am @@ -4,7 +4,6 @@ include $(top_srcdir)/Makefile.decl AM_CPPFLAGS = \ $(glib_INCLUDES) \ -DG_LOG_DOMAIN=\"GThread\" \ - -DGLIB_COMPILATION \ @GTHREAD_COMPILE_IMPL_DEFINES@ \ @GLIB_DEBUG_FLAGS@ diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c index c7f61a37f..fd03b1d68 100644 --- a/gthread/gthread-impl.c +++ b/gthread/gthread-impl.c @@ -36,9 +36,13 @@ 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."); } |