mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-25 15:15:42 +00:00
r103 was incomplete. It changed the checks in the configure script (and
accidentally introduced a no-op line), but did not change the checks in the header, so we ended up always using our own [bl]e{32,64}{enc,dec}.
This commit is contained in:
parent
20dab3e342
commit
8ef2266a4b
2 changed files with 8 additions and 9 deletions
|
@ -43,7 +43,6 @@ AC_CHECK_DECLS([be32enc, be32dec, le32enc, le32dec,
|
|||
#include <endian.h>
|
||||
#endif
|
||||
]])
|
||||
AC_CHECK_DECLS([])
|
||||
AC_CHECK_FUNCS([strlcat strlcmp strlcpy])
|
||||
|
||||
# For tracing allocations in unit tests
|
||||
|
|
|
@ -38,28 +38,28 @@
|
|||
#include <endian.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_BE32ENC
|
||||
#ifndef HAVE_DECL_BE32ENC
|
||||
#define be32enc cryb_be32enc
|
||||
#endif
|
||||
#ifndef HAVE_BE32DEC
|
||||
#ifndef HAVE_DECL_BE32DEC
|
||||
#define be32dec cryb_be32dec
|
||||
#endif
|
||||
#ifndef HAVE_BE64ENC
|
||||
#ifndef HAVE_DECL_BE64ENC
|
||||
#define be64enc cryb_be64enc
|
||||
#endif
|
||||
#ifndef HAVE_BE64DEC
|
||||
#ifndef HAVE_DECL_BE64DEC
|
||||
#define be64dec cryb_be64dec
|
||||
#endif
|
||||
#ifndef HAVE_LE32ENC
|
||||
#ifndef HAVE_DECL_LE32ENC
|
||||
#define le32enc cryb_le32enc
|
||||
#endif
|
||||
#ifndef HAVE_LE32DEC
|
||||
#ifndef HAVE_DECL_LE32DEC
|
||||
#define le32dec cryb_le32dec
|
||||
#endif
|
||||
#ifndef HAVE_LE64ENC
|
||||
#ifndef HAVE_DECL_LE64ENC
|
||||
#define le64enc cryb_le64enc
|
||||
#endif
|
||||
#ifndef HAVE_LE64DEC
|
||||
#ifndef HAVE_DECL_LE64DEC
|
||||
#define le64dec cryb_le64dec
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue