invert gthread-impl includes
commit96e489680423f87428c74b1f6ec8a6b8a9c99645
authorRyan Lortie <desrt@desrt.ca>
Wed, 31 Aug 2011 21:40:01 +0000 (31 17:40 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 9 Sep 2011 16:47:40 +0000 (9 12:47 -0400)
treeb4557bb518ab358b9f12dc75806921a828c922d3
parentfc6a9275a4c1e14edb0b9948672ec77af980bc23
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.
configure.ac
gthread/Makefile.am
gthread/gthread-impl.c
gthread/gthread-posix.c
gthread/gthread-win32.c