zipconf.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. #ifndef _HAD_ZIPCONF_H
  2. #define _HAD_ZIPCONF_H
  3. /*
  4. zipconf.h -- platform specific include file
  5. This file was generated automatically by CMake
  6. based on ../cmake-zipconf.h.in.
  7. */
  8. /* #undef HAVE_INTTYPES_H_LIBZIP */
  9. #define HAVE_STDINT_H_LIBZIP
  10. #define HAVE_SYS_TYPES_H_LIBZIP
  11. #define HAVE___INT8_LIBZIP
  12. #define HAVE_INT8_T_LIBZIP
  13. #define HAVE_UINT8_T_LIBZIP
  14. #define HAVE___INT16_LIBZIP
  15. #define HAVE_INT16_T_LIBZIP
  16. #define HAVE_UINT16_T_LIBZIP
  17. #define HAVE___INT32_LIBZIP
  18. #define HAVE_INT32_T_LIBZIP
  19. #define HAVE_UINT32_T_LIBZIP
  20. #define HAVE___INT64_LIBZIP
  21. #define HAVE_INT64_T_LIBZIP
  22. #define HAVE_UINT64_T_LIBZIP
  23. #define SHORT_LIBZIP 2
  24. #define INT_LIBZIP 4
  25. #define LONG_LIBZIP 4
  26. #define LONG_LONG_LIBZIP 8
  27. #if defined(HAVE_STDINT_H_LIBZIP)
  28. #include <stdint.h>
  29. #elif defined(HAVE_INTTYPES_H_LIBZIP)
  30. #include <inttypes.h>
  31. #elif defined(HAVE_SYS_TYPES_H_LIBZIP)
  32. #include <sys/types.h>
  33. #endif
  34. #if defined(HAVE_INT8_T_LIBZIP)
  35. typedef int8_t zip_int8_t;
  36. #elif defined(HAVE___INT8_LIBZIP)
  37. typedef __int8 zip_int8_t;
  38. #else
  39. typedef signed char zip_int8_t;
  40. #endif
  41. #if defined(HAVE_UINT8_T_LIBZIP)
  42. typedef uint8_t zip_uint8_t;
  43. #elif defined(HAVE___INT8_LIBZIP)
  44. typedef unsigned __int8 zip_uint8_t;
  45. #else
  46. typedef unsigned char zip_uint8_t;
  47. #endif
  48. #if defined(HAVE_INT16_T_LIBZIP)
  49. typedef int16_t zip_int16_t;
  50. #elif defined(HAVE___INT16_LIBZIP)
  51. typedef __int16 zip_int16_t;
  52. #elif defined(SHORT_LIBZIP) && SHORT_LIBZIP == 2
  53. typedef signed short zip_int16_t;
  54. #endif
  55. #if defined(HAVE_UINT16_T_LIBZIP)
  56. typedef uint16_t zip_uint16_t;
  57. #elif defined(HAVE___INT16_LIBZIP)
  58. typedef unsigned __int16 zip_uint16_t;
  59. #elif defined(SHORT_LIBZIP) && SHORT_LIBZIP == 2
  60. typedef unsigned short zip_uint16_t;
  61. #endif
  62. #if defined(HAVE_INT32_T_LIBZIP)
  63. typedef int32_t zip_int32_t;
  64. #elif defined(HAVE___INT32_LIBZIP)
  65. typedef __int32 zip_int32_t;
  66. #elif defined(INT_LIBZIP) && INT_LIBZIP == 4
  67. typedef signed int zip_int32_t;
  68. #elif defined(LONG_LIBZIP) && LONG_LIBZIP == 4
  69. typedef signed long zip_int32_t;
  70. #endif
  71. #if defined(HAVE_UINT32_T_LIBZIP)
  72. typedef uint32_t zip_uint32_t;
  73. #elif defined(HAVE___INT32_LIBZIP)
  74. typedef unsigned __int32 zip_uint32_t;
  75. #elif defined(INT_LIBZIP) && INT_LIBZIP == 4
  76. typedef unsigned int zip_uint32_t;
  77. #elif defined(LONG_LIBZIP) && LONG_LIBZIP == 4
  78. typedef unsigned long zip_uint32_t;
  79. #endif
  80. #if defined(HAVE_INT64_T_LIBZIP)
  81. typedef int64_t zip_int64_t;
  82. #elif defined(HAVE___INT64_LIBZIP)
  83. typedef __int64 zip_int64_t;
  84. #elif defined(LONG_LIBZIP) && LONG_LIBZIP == 8
  85. typedef signed long zip_int64_t;
  86. #elif defined(LONG_LONG_LIBZIP) && LONG_LONG_LIBZIP == 8
  87. typedef signed long long zip_int64_t;
  88. #endif
  89. #if defined(HAVE_UINT64_T_LIBZIP)
  90. typedef uint64_t zip_uint64_t;
  91. #elif defined(HAVE___INT64_LIBZIP)
  92. typedef unsigned __int64 zip_uint64_t;
  93. #elif defined(LONG_LIBZIP) && LONG_LONG_LIBZIP == 8
  94. typedef unsigned long zip_uint64_t;
  95. #elif defined(LONG_LONG_LIBZIP) && LONG_LONG_LIBZIP == 8
  96. typedef unsigned long long zip_uint64_t;
  97. #endif
  98. #define ZIP_INT8_MIN -0x80
  99. #define ZIP_INT8_MAX 0x7f
  100. #define ZIP_UINT8_MAX 0xff
  101. #define ZIP_INT16_MIN -0x8000
  102. #define ZIP_INT16_MAX 0x7fff
  103. #define ZIP_UINT16_MAX 0xffff
  104. #define ZIP_INT32_MIN -0x80000000L
  105. #define ZIP_INT32_MAX 0x7fffffffL
  106. #define ZIP_UINT32_MAX 0xffffffffLU
  107. #define ZIP_INT64_MIN -0x8000000000000000LL
  108. #define ZIP_INT64_MAX 0x7fffffffffffffffLL
  109. #define ZIP_UINT64_MAX 0xffffffffffffffffULL
  110. #endif /* zipconf.h */