Fix detecting Solaris operating system.
* src/gen-posix-lock-obj.c (USE_DOUBLE_FOR_ALIGNMENT): Check for the macro __sun.
This fixes commit 5168b97 and 34b0714.
Thanks to Ibraheem Saleh and Thomas Klausner for testing.
Thanks to Tom G. Christensen for suggesting the fix with the
useful link: https://sourceforge.net/p/predef/wiki/Home/
Thanks to Nelson H. F. Beebe to inform the tool:
http://www.math.utah.edu/~beebe/cc-defs
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
- GnuPG-bug-id: T2144