| From a944ceb9e95664e0590771b769b455bf7e0382c9 Mon Sep 17 00:00:00 2001 |
| From: Michael Crouse <mcrouse@chromium.org> |
| Date: Tue, 5 Jan 2021 09:10:20 -0800 |
| Subject: [PATCH] add built zipconf.h |
| |
| --- |
| third_party/libzip/src/zipconf.h | 51 ++++++++++++++++++++++++++++++++ |
| 1 file changed, 51 insertions(+) |
| create mode 100644 third_party/libzip/src/zipconf.h |
| |
| diff --git a/third_party/libzip/src/zipconf.h b/third_party/libzip/src/zipconf.h |
| new file mode 100644 |
| index 000000000000..cc5abcc681ff |
| --- /dev/null |
| +++ b/third_party/libzip/src/zipconf.h |
| @@ -0,0 +1,51 @@ |
| +#ifndef _HAD_ZIPCONF_H |
| +#define _HAD_ZIPCONF_H |
| + |
| +/* |
| + zipconf.h -- platform specific include file |
| + |
| + This file was generated automatically by CMake |
| + based on ../cmake-zipconf.h.in. |
| + */ |
| + |
| +#define LIBZIP_VERSION "1.7.3" |
| +#define LIBZIP_VERSION_MAJOR 1 |
| +#define LIBZIP_VERSION_MINOR 7 |
| +#define LIBZIP_VERSION_MICRO 3 |
| + |
| +/* #undef ZIP_STATIC */ |
| + |
| +#define _Nullable |
| +#define _Nonnull |
| + |
| +#if !defined(__STDC_FORMAT_MACROS) |
| +#define __STDC_FORMAT_MACROS 1 |
| +#endif |
| +#include <inttypes.h> |
| + |
| +typedef int8_t zip_int8_t; |
| +typedef uint8_t zip_uint8_t; |
| +typedef int16_t zip_int16_t; |
| +typedef uint16_t zip_uint16_t; |
| +typedef int32_t zip_int32_t; |
| +typedef uint32_t zip_uint32_t; |
| +typedef int64_t zip_int64_t; |
| +typedef uint64_t zip_uint64_t; |
| + |
| +#define ZIP_INT8_MIN (-ZIP_INT8_MAX-1) |
| +#define ZIP_INT8_MAX 0x7f |
| +#define ZIP_UINT8_MAX 0xff |
| + |
| +#define ZIP_INT16_MIN (-ZIP_INT16_MAX-1) |
| +#define ZIP_INT16_MAX 0x7fff |
| +#define ZIP_UINT16_MAX 0xffff |
| + |
| +#define ZIP_INT32_MIN (-ZIP_INT32_MAX-1L) |
| +#define ZIP_INT32_MAX 0x7fffffffL |
| +#define ZIP_UINT32_MAX 0xffffffffLU |
| + |
| +#define ZIP_INT64_MIN (-ZIP_INT64_MAX-1LL) |
| +#define ZIP_INT64_MAX 0x7fffffffffffffffLL |
| +#define ZIP_UINT64_MAX 0xffffffffffffffffULL |
| + |
| +#endif /* zipconf.h */ |
| \ No newline at end of file |
| -- |
| 2.29.2.729.g45daf8777d-goog |
| |