From 34b07146bbb0863436fc9381a84314b18bdfb807 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 1 Mar 2016 10:25:18 +0900 Subject: Fix for Solaris. * src/gen-posix-lock-obj.c (USE_DOUBLE_FOR_ALIGNMENT): Check LP64. -- Signed-off-by: NIIBE Yutaka This fixes commit 5168b97. --- src/gen-posix-lock-obj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen-posix-lock-obj.c b/src/gen-posix-lock-obj.c index 83356ad..5efc930 100644 --- a/src/gen-posix-lock-obj.c +++ b/src/gen-posix-lock-obj.c @@ -43,7 +43,7 @@ #endif /* Special requirements for certain platforms. */ -#if defined(__solaris__) && (defined (__ILP32__) || defined(_ILP32)) +#if defined(__solaris__) && !defined (__LP64__) && !defined(_LP64) # define USE_DOUBLE_FOR_ALIGNMENT 1 #else # define USE_DOUBLE_FOR_ALIGNMENT 0 -- cgit v1.2.3