From 760c6ffc67836027c5f1d307e5c6cb012dfbdf72 Mon Sep 17 00:00:00 2001 From: "snappy.mirrorbot@gmail.com" Date: Tue, 13 Aug 2013 12:55:00 +0000 Subject: Add autoconf tests for size_t and ssize_t. Sort-of resolves public issue 79; it would solve the problem if MSVC typically used autoconf. However, it gives a natural place (config.h) to put the typedef even for MSVC. R=jsbell git-svn-id: http://snappy.googlecode.com/svn/trunk@80 03e5f5b5-db94-4691-08a0-1a8bf15f6143 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index f3eb3a1..9ee8938 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,8 @@ AC_SUBST([LIBTOOL_DEPS]) AC_PROG_CXX AC_LANG([C++]) AC_C_BIGENDIAN +AC_TYPE_SIZE_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]) # Don't use AC_FUNC_MMAP, as it checks for mappings of already-mapped memory, -- cgit v1.2.1