From f686e5ebff1a8a30c496ffe38c9cd0fcde6307ce Mon Sep 17 00:00:00 2001 From: Vadim Chugunov Date: Wed, 19 Mar 2014 00:42:02 -0700 Subject: Fixed Win64 build --- src/libstd/unstable/mutex.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libstd/unstable') diff --git a/src/libstd/unstable/mutex.rs b/src/libstd/unstable/mutex.rs index c2db8ad9586..8faedcbd9ed 100644 --- a/src/libstd/unstable/mutex.rs +++ b/src/libstd/unstable/mutex.rs @@ -444,6 +444,8 @@ mod imp { static SPIN_COUNT: DWORD = 4000; #[cfg(target_arch = "x86")] static CRIT_SECTION_SIZE: uint = 24; + #[cfg(target_arch = "x86_64")] + static CRIT_SECTION_SIZE: uint = 40; pub struct Mutex { // pointers for the lock/cond handles, atomically updated -- cgit 1.4.1-3-g733a5