config.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #ifndef HAD_CONFIG_H
  2. #define HAD_CONFIG_H
  3. #ifndef _HAD_ZIPCONF_H
  4. #include "zipconf.h"
  5. #endif
  6. /* BEGIN DEFINES */
  7. #define HAVE__CLOSE
  8. #define HAVE__DUP
  9. #define HAVE__FDOPEN
  10. #define HAVE__FILENO
  11. #define HAVE__OPEN
  12. #define HAVE__SNPRINTF
  13. #define HAVE__STRDUP
  14. #define HAVE__STRICMP
  15. /* #undef HAVE_FSEEKO */
  16. /* #undef HAVE_FTELLO */
  17. #define HAVE_OPEN
  18. /* #undef HAVE_MKSTEMP */
  19. /* #undef HAVE_SNPRINTF */
  20. /* #undef HAVE_STRCASECMP */
  21. #define HAVE_STRDUP
  22. /* #undef HAVE_STRUCT_TM_TM_ZONE */
  23. #ifdef _WIN32
  24. #define HAVE_MOVEFILEEXA
  25. #endif
  26. /* #undef HAVE_STRINGS_H */
  27. /* #undef HAVE_UNISTD_H */
  28. #define __INT8_LIBZIP 1
  29. #define INT8_T_LIBZIP 1
  30. #define UINT8_T_LIBZIP 1
  31. #define __INT16_LIBZIP 2
  32. #define INT16_T_LIBZIP 2
  33. #define UINT16_T_LIBZIP 2
  34. #define __INT32_LIBZIP 4
  35. #define INT32_T_LIBZIP 4
  36. #define UINT32_T_LIBZIP 4
  37. #define __INT64_LIBZIP 8
  38. #define INT64_T_LIBZIP 8
  39. #define UINT64_T_LIBZIP 8
  40. #define SIZEOF_OFF_T 4
  41. #define SIZE_T_LIBZIP 8
  42. /* #undef SSIZE_T_LIBZIP */
  43. /* END DEFINES */
  44. #define PACKAGE "libzip"
  45. #define VERSION "0.11.2"
  46. #ifndef HAVE_SSIZE_T_LIBZIP
  47. # if SIZE_T_LIBZIP == INT_LIBZIP
  48. typedef int ssize_t;
  49. # elif SIZE_T_LIBZIP == LONG_LIBZIP
  50. typedef long ssize_t;
  51. # elif SIZE_T_LIBZIP == LONG_LONG_LIBZIP
  52. typedef long long ssize_t;
  53. # else
  54. #error no suitable type for ssize_t found
  55. # endif
  56. #endif
  57. #endif /* HAD_CONFIG_H */