diff options
author | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2013-06-13 16:19:52 +0000 |
---|---|---|
committer | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2013-06-13 16:19:52 +0000 |
commit | cf06b4fcc069158624d4984e67e408152eb91382 (patch) | |
tree | d2ac73f30752dff890cad9e1608156049438d692 /configure.ac | |
parent | 72c54da325fc1ad437d1fabddef15523db860ac0 (diff) | |
download | snappy-cf06b4fcc069158624d4984e67e408152eb91382.tar.gz |
Add support for uncompressing to iovecs (scatter I/O).
Windows does not have struct iovec defined anywhere,
so we define our own version that's equal to what UNIX
typically has.
The bulk of this patch was contributed by Mohit Aron.
R=jeff
git-svn-id: http://snappy.googlecode.com/svn/trunk@76 03e5f5b5-db94-4691-08a0-1a8bf15f6143
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e06f0be..f3eb3a1 100644 --- a/configure.ac +++ b/configure.ac @@ -110,6 +110,11 @@ if test "$ac_cv_header_stddef_h" = "yes"; then else AC_SUBST([ac_cv_have_stddef_h], [0]) fi +if test "$ac_cv_header_sys_uio_h" = "yes"; then + AC_SUBST([ac_cv_have_sys_uio_h], [1]) +else + AC_SUBST([ac_cv_have_sys_uio_h], [0]) +fi # Export the version to snappy-stubs-public.h. SNAPPY_MAJOR="snappy_major" |