Home GnuPG

Fix macro conflict in NetBSD
5f2af6c26bc0Unpublished

Unpublished Commit · Learn More

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

Description

Fix macro conflict in NetBSD

* cipher/bithelp.h (bswap32): Rename to _gcry_bswap32.
(bswap64): Rename to _gcry_bswap64.

NetBSD provides system macros bswap32 and bswap64 which conflicts with
our macros. Prefixing them with _gcry_ is easier than to come up with
a proper test.

(cherry picked from commit 36214bfa8f612cd2faa4de217d1a12a8b5faadbf)

  • GnuPG-bug-id: T1600
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 9 2014, 7:14 PM
Parents
rC518ae274a184: Use internal malloc function in fips.c
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC5f2af6c26bc0: Fix macro conflict in NetBSD (authored by Werner Koch <wk@gnupg.org>).Jan 13 2014, 11:48 AM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:05 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:28 PM