aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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