Don't need memory barriers when using a non-gcc compiler on Windows
authorTor Lillqvist <tml@novell.com>
Tue, 20 May 2008 08:03:03 +0000 (08:03 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 20 May 2008 08:03:03 +0000 (08:03 +0000)
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

ChangeLog
configure.in

index 7c76dc7..a3698a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * glib/gdir.c: Include the dirent.h and wdirent.c from
index e9eea58..6611ee5 100644 (file)
@@ -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 ****************************************