Home GnuPG

Fix detecting Solaris operating system.
f7a77c5c236eUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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

Details

Provenance
gniibeAuthored on Mar 4 2016, 12:23 AM
Parents
rEf9fc56512929: For Solaris, add -lrt correctly.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rEf7a77c5c236e: Fix detecting Solaris operating system. (authored by NIIBE Yutaka <gniibe@fsij.org>).Mar 4 2016, 12:23 AM