Parolin
0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
val
xcx_xz
xz-5.6.2
lzma
version.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: 0BSD */
2
9
/*
10
* Author: Lasse Collin
11
*/
12
13
#ifndef LZMA_H_INTERNAL
14
# error Never include this file directly. Use <lzma.h> instead.
15
#endif
16
17
19
#define LZMA_VERSION_MAJOR 5
20
22
#define LZMA_VERSION_MINOR 6
23
25
#define LZMA_VERSION_PATCH 2
26
35
#define LZMA_VERSION_STABILITY LZMA_VERSION_STABILITY_STABLE
36
38
#ifndef LZMA_VERSION_COMMIT
39
# define LZMA_VERSION_COMMIT ""
40
#endif
41
42
43
/*
44
* Map symbolic stability levels to integers.
45
*/
46
#define LZMA_VERSION_STABILITY_ALPHA 0
47
#define LZMA_VERSION_STABILITY_BETA 1
48
#define LZMA_VERSION_STABILITY_STABLE 2
49
50
67
#define LZMA_VERSION (LZMA_VERSION_MAJOR * UINT32_C(10000000) \
68
+ LZMA_VERSION_MINOR * UINT32_C(10000) \
69
+ LZMA_VERSION_PATCH * UINT32_C(10) \
70
+ LZMA_VERSION_STABILITY)
71
72
73
/*
74
* Macros to construct the compile-time version string
75
*/
76
#if LZMA_VERSION_STABILITY == LZMA_VERSION_STABILITY_ALPHA
77
# define LZMA_VERSION_STABILITY_STRING "alpha"
78
#elif LZMA_VERSION_STABILITY == LZMA_VERSION_STABILITY_BETA
79
# define LZMA_VERSION_STABILITY_STRING "beta"
80
#elif LZMA_VERSION_STABILITY == LZMA_VERSION_STABILITY_STABLE
81
# define LZMA_VERSION_STABILITY_STRING ""
82
#else
83
# error Incorrect LZMA_VERSION_STABILITY
84
#endif
85
86
#define LZMA_VERSION_STRING_C_(major, minor, patch, stability, commit) \
87
#major "." #minor "." #patch stability commit
88
89
#define LZMA_VERSION_STRING_C(major, minor, patch, stability, commit) \
90
LZMA_VERSION_STRING_C_(major, minor, patch, stability, commit)
91
92
102
#define LZMA_VERSION_STRING LZMA_VERSION_STRING_C( \
103
LZMA_VERSION_MAJOR, LZMA_VERSION_MINOR, \
104
LZMA_VERSION_PATCH, LZMA_VERSION_STABILITY_STRING, \
105
LZMA_VERSION_COMMIT)
106
107
108
/* #ifndef is needed for use with windres (MinGW-w64 or Cygwin). */
109
#ifndef LZMA_H_INTERNAL_RC
110
119
extern
LZMA_API
(uint32_t) lzma_version_number(
void
)
120
lzma_nothrow
lzma_attr_const
;
121
122
131
extern
LZMA_API
(
const
char
*) lzma_version_string(
void
)
132
lzma_nothrow
lzma_attr_const
;
133
134
#endif
lzma_attr_const
#define lzma_attr_const
Definition
lzma.h:269
lzma_nothrow
#define lzma_nothrow
Definition
lzma.h:231
LZMA_API
#define LZMA_API(type)
Definition
lzma.h:207
Generated by
1.12.0