Check for the existence of sys/uio.h in autoconf build.
This lands https://github.com/google/snappy/pull/32
This commit is contained in:
@@ -21,7 +21,7 @@ AC_LANG([C++])
|
|||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
AC_TYPE_SSIZE_T
|
AC_TYPE_SSIZE_T
|
||||||
AC_CHECK_HEADERS([stdint.h stddef.h sys/mman.h sys/resource.h windows.h byteswap.h sys/byteswap.h sys/endian.h sys/time.h])
|
AC_CHECK_HEADERS([stdint.h stddef.h sys/mman.h sys/resource.h sys/uio.h windows.h byteswap.h sys/byteswap.h sys/endian.h sys/time.h])
|
||||||
|
|
||||||
# Don't use AC_FUNC_MMAP, as it checks for mappings of already-mapped memory,
|
# Don't use AC_FUNC_MMAP, as it checks for mappings of already-mapped memory,
|
||||||
# which we don't need (and does not exist on Windows).
|
# which we don't need (and does not exist on Windows).
|
||||||
|
|||||||
Reference in New Issue
Block a user