diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2012-03-26 08:34:27 +0400 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2012-03-26 16:23:52 +0400 |
| commit | d23bbeb08cd9054440032dc2993e1e8081bb544d (patch) | |
| tree | 67c2ae75346e3f6dd19f1439b0fda0f5d7a3800d | |
| parent | 8809fcc67b49888a4a8f1597996baac331693352 (diff) | |
| download | libatomic_ops-d23bbeb08cd9054440032dc2993e1e8081bb544d.tar.gz | |
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).
| -rw-r--r-- | src/atomic_ops/sysdeps/standard_ao_double_t.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atomic_ops/sysdeps/standard_ao_double_t.h b/src/atomic_ops/sysdeps/standard_ao_double_t.h index 9f5c9a4..cbf7fba 100644 --- a/src/atomic_ops/sysdeps/standard_ao_double_t.h +++ b/src/atomic_ops/sysdeps/standard_ao_double_t.h @@ -28,7 +28,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 <xmmintrin.h> typedef __m128 double_ptr_storage; #elif defined(_WIN32) && !defined(__GNUC__) |
