From 3aa3ffb97d6910bc93dbb799be0df0300b5b4ae3 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Mon, 26 Mar 2012 08:34:27 +0400 Subject: Fix double_ptr_storage definition for GCC pre-v4 (x86_64) * src/atomic_ops/sysdeps/standard_ao_double_t.h: Do not use __m128 if GCC pre-v4 (at least, xmmintrin.h is missing in gcc-3.4.3-x86_64 included in Solaris 10 distribution). --- src/atomic_ops/sysdeps/standard_ao_double_t.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomic_ops/sysdeps/standard_ao_double_t.h b/src/atomic_ops/sysdeps/standard_ao_double_t.h index 1a53912..7089f05 100644 --- a/src/atomic_ops/sysdeps/standard_ao_double_t.h +++ b/src/atomic_ops/sysdeps/standard_ao_double_t.h @@ -6,7 +6,7 @@ * Similar things could be done for PowerPC 64-bit using a VMX data type... */ -#if (defined(__x86_64__) && defined(__GNUC__)) || defined(_WIN64) +#if (defined(__x86_64__) && __GNUC__ >= 4) || defined(_WIN64) # include typedef __m128 double_ptr_storage; #elif defined(_WIN32) && !defined(__GNUC__) -- cgit v1.2.1