aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gen-posix-lock-obj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gen-posix-lock-obj.c b/src/gen-posix-lock-obj.c
index 5efc930..79b56de 100644
--- a/src/gen-posix-lock-obj.c
+++ b/src/gen-posix-lock-obj.c
@@ -43,7 +43,8 @@
#endif
/* Special requirements for certain platforms. */
-#if defined(__solaris__) && !defined (__LP64__) && !defined(_LP64)
+#if defined(__sun) && !defined (__LP64__) && !defined(_LP64)
+/* Solaris on 32-bit architecture. */
# define USE_DOUBLE_FOR_ALIGNMENT 1
#else
# define USE_DOUBLE_FOR_ALIGNMENT 0