Fix detecting Solaris operating system.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 3 Mar 2016 23:23:27 +0000 (08:23 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 3 Mar 2016 23:23:27 +0000 (08:23 +0900)
commitf7a77c5c236ecec846de9be46703026f9b01008f
tree5b721eb89946a32355f523a3a6d1b5805d4e973b
parentf9fc565129293f47cbfe4da48fcd6099e9ce5508
Fix detecting Solaris operating system.

* src/gen-posix-lock-obj.c (USE_DOUBLE_FOR_ALIGNMENT): Check for
the macro __sun.

--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
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
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

GnuPG-bug-id: 2144
src/gen-posix-lock-obj.c