Improving the byte swap support for portability

This commit is contained in:
Peter Boyle committed 2015-05-01 10:57:33 +01:00
1 parent c770f96be7
commit 31fd146cc0
5 files changed
+125 -3

No files matched your search

+3
View File
@@ -18,6 +18,9 @@ AC_CHECK_HEADERS(stdint.h)
AC_CHECK_HEADERS(malloc/malloc.h)
AC_CHECK_HEADERS(malloc.h)
AC_CHECK_HEADERS(endian.h)
#AC_CHECK_HEADERS(machine/endian.h)
AC_CHECK_DECLS([ntohll],[], [], [[#include <arpa/inet.h>]])
AC_CHECK_DECLS([be64toh],[], [], [[#include <arpa/inet.h>]])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T