diff options
author | NIIBE Yutaka <[email protected]> | 2016-03-01 01:25:18 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2016-03-01 01:25:18 +0000 |
commit | 34b07146bbb0863436fc9381a84314b18bdfb807 (patch) | |
tree | b110fd7f232caaa188e284a02d4fddf0042c1d17 | |
parent | po: Update Japanese translation (diff) | |
download | libgpg-error-34b07146bbb0863436fc9381a84314b18bdfb807.tar.gz libgpg-error-34b07146bbb0863436fc9381a84314b18bdfb807.zip |
Fix for Solaris.
* src/gen-posix-lock-obj.c (USE_DOUBLE_FOR_ALIGNMENT): Check LP64.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
This fixes commit 5168b97.
-rw-r--r-- | src/gen-posix-lock-obj.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |