Fix macro conflict in NetBSD

Authored by werner on Jan 9 2014, 7:14 PM.

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.

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

Details

Committed
wernerJan 13 2014, 11:40 AM
Parents
rC6133d9a041b5: Fix typo in search_oid
Branches
Unknown
Tags
Unknown
Werner Koch <wk@gnupg.org> committed rC36214bfa8f61: Fix macro conflict in NetBSD (authored by Werner Koch <wk@gnupg.org>).Jan 13 2014, 11:40 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