diff --git a/ChangeLog b/ChangeLog index 7c76dc735..a3698a41f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-20 Tor Lillqvist + + * configure.in: Don't need memory barriers when using a non-gcc + compiler on Windows either. + 2008-05-19 Tor Lillqvist * glib/gdir.c: Include the dirent.h and wdirent.c from diff --git a/configure.in b/configure.in index e9eea5824..6611ee55e 100644 --- a/configure.in +++ b/configure.in @@ -2367,6 +2367,11 @@ if test x"$GCC" = xyes; then glib_memory_barrier_needed=yes ;; 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 dnl ****************************************