diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-08-31 17:40:01 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-09-09 12:47:40 -0400 |
commit | 96e489680423f87428c74b1f6ec8a6b8a9c99645 (patch) | |
tree | b4557bb518ab358b9f12dc75806921a828c922d3 /configure.ac | |
parent | fc6a9275a4c1e14edb0b9948672ec77af980bc23 (diff) |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index d1944b80a..ec0ae028d 100644 --- a/configure.ac +++ b/configure.ac @@ -2419,8 +2419,6 @@ case $host in ;; esac -AC_DEFINE_UNQUOTED(G_THREAD_SOURCE,"gthread-$have_threads.c", - [Source file containing thread implementation]) AC_SUBST(G_THREAD_CFLAGS) AC_SUBST(G_THREAD_LIBS) AC_SUBST(G_THREAD_LIBS_FOR_GTHREAD) |