Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/ext/libzip/config.h
3186 views
1
#ifndef HAD_CONFIG_H
2
#define HAD_CONFIG_H
3
#ifndef _HAD_ZIPCONF_H
4
#include "zipconf.h"
5
#endif
6
7
#if defined(WINAPI_FAMILY) && defined(WINAPI_FAMILY_PARTITION)
8
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) && WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP
9
#define MS_UWP
10
#define _WIN32_WINNT 0x0602
11
#endif
12
#endif
13
14
/* BEGIN DEFINES */
15
#ifdef _WIN32
16
#define HAVE__CLOSE
17
#define HAVE__DUP
18
#define HAVE__FDOPEN
19
#define HAVE__FILENO
20
#define HAVE__SETMODE
21
#define HAVE__STRDUP
22
#define HAVE__STRICMP
23
#define HAVE__STRTOI64
24
#define HAVE__STRTOUI64
25
#define HAVE__UMASK
26
#define HAVE__UNLINK
27
#endif
28
#ifndef MS_UWP
29
#define HAVE_FILENO
30
#define HAVE_GETPROGNAME
31
#endif
32
#ifndef _WIN32
33
#define HAVE_FSEEKO
34
#define HAVE_FTELLO
35
#define HAVE_LOCALTIME_R
36
#define HAVE_MKSTEMP 1
37
#endif
38
#ifdef __MINGW32__
39
#define HAVE_FSEEKO
40
#define HAVE_FTELLO
41
#endif
42
#define HAVE_SNPRINTF
43
#define HAVE_STRDUP
44
#if !defined(__MINGW32__) && defined(_WIN32)
45
#define HAVE_STRICMP
46
#else
47
#define HAVE_STRCASECMP
48
#endif
49
#ifndef _WIN32
50
#define HAVE_STRINGS_H 1
51
#define HAVE_UNISTD_H
52
#endif
53
#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__) || defined(__aarch64__) || defined(_M_ARM64) || defined(__mips64__)
54
#define SIZEOF_OFF_T 8
55
#define SIZEOF_SIZE_T 8
56
#else
57
#define SIZEOF_OFF_T 4
58
#define SIZEOF_SIZE_T 4
59
#endif
60
/* END DEFINES */
61
#define PACKAGE "libzip"
62
#define VERSION "1.7.3"
63
64
#endif /* HAD_CONFIG_H */
65
66