12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef THIRD_PARTY_SNAPPY_OPENSOURCE_SNAPPY_STUBS_PUBLIC_H_
- #define THIRD_PARTY_SNAPPY_OPENSOURCE_SNAPPY_STUBS_PUBLIC_H_
- #include <cstddef>
- #include "config.h"
- #if defined(HAVE_SYS_UIO_H)
- #include <sys/uio.h>
- #endif
- #define SNAPPY_MAJOR 1
- #define SNAPPY_MINOR 1
- #define SNAPPY_PATCHLEVEL 10
- #define SNAPPY_VERSION \
- ((SNAPPY_MAJOR << 16) | (SNAPPY_MINOR << 8) | SNAPPY_PATCHLEVEL)
- namespace snappy {
- #if !defined(HAVE_SYS_UIO_H)
- struct iovec {
- void* iov_base;
- size_t iov_len;
- };
- #endif
- }
- #endif
|