1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-14 22:07:05 +01:00

Improving the byte swap support for portability

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

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