aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2016-03-01 01:25:18 +0000
committerNIIBE Yutaka <[email protected]>2016-03-01 01:25:18 +0000
commit34b07146bbb0863436fc9381a84314b18bdfb807 (patch)
treeb110fd7f232caaa188e284a02d4fddf0042c1d17
parentpo: Update Japanese translation (diff)
downloadlibgpg-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.c2
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