1 #ifndef HAD_CONFIG_H
2 #define HAD_CONFIG_H
3 #define HAVE__CLOSE
4 #define HAVE__DUP
5 #define HAVE__FDOPEN
6 #define HAVE__FILENO
7 #define HAVE__OPEN
8 #define HAVE__SNPRINTF
9
10 #define HAVE__STRDUP
11 #define HAVE__STRICMP
12
13
14
15 #define HAVE_MOVEFILEEXA
16
17
18
19
20
21 #define PACKAGE "libzip"
22 #define VERSION "0.10.b"
23
24
25
26 #ifndef HAVE_SSIZE_T
27
28 #ifndef SIZE_T_LIBZIP
29 #define SIZE_T_LIBZIP 4
30 #endif
31 #ifndef INT_LIBZIP
32 #define INT_LIBZIP 4
33 #endif
34 #ifndef LONG_LIBZIP
35 #define LONG_LIBZIP 4
36 #endif
37 #ifndef LONG_LONG_LIBZIP
38 #define LONG_LONG_LIBZIP 8
39 #endif
40 #ifndef SIZEOF_OFF_T
41 #define SIZEOF_OFF_T 4
42 #endif
43
44 # if SIZE_T_LIBZIP == INT_LIBZIP
45 # ifndef ssize_t
46 typedef int ssize_t;
47 # endif
48 # elif SIZE_T_LIBZIP == LONG_LIBZIP
49 typedef long ssize_t;
50 # elif SIZE_T_LIBZIP == LONG_LONG_LIBZIP
51 typedef long long ssize_t;
52 # else
53 #error no suitable type for ssize_t found
54 # endif
55 #endif
56
57 # undef strcasecmp
58 # define strcasecmp _strcmpi
59
60 #if !defined(EOPNOTSUPP) && defined(_WIN32)
61 # define EOPNOTSUPP 130
62 #endif
63
64 #if !defined(EOVERFLOW) && defined(_WIN32)
65 # define EOVERFLOW 132
66 #endif
67
68 #endif