Don't need memory barriers when using a non-gcc compiler on Windows

2008-05-20  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't need memory barriers when using a non-gcc
	compiler on Windows either.


svn path=/trunk/; revision=6918
This commit is contained in:
Tor Lillqvist 2008-05-20 08:03:03 +00:00 committed by Tor Lillqvist
parent 445bb2718b
commit 7100c410d2
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-05-20 Tor Lillqvist <tml@novell.com>
* configure.in: Don't need memory barriers when using a non-gcc
compiler on Windows either.
2008-05-19 Tor Lillqvist <tml@novell.com> 2008-05-19 Tor Lillqvist <tml@novell.com>
* glib/gdir.c: Include the dirent.h and wdirent.c from * glib/gdir.c: Include the dirent.h and wdirent.c from

View File

@ -2367,6 +2367,11 @@ if test x"$GCC" = xyes; then
glib_memory_barrier_needed=yes glib_memory_barrier_needed=yes
;; ;;
esac esac
else
if test $glib_native_win32 = yes; then
# For Windows but not using gcc. No barriers needed then either.
glib_memory_barrier_needed=no
fi
fi fi
dnl **************************************** dnl ****************************************