mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-17 16:10:29 +00:00
Add Info-ZIP unzip.com
This commit is contained in:
parent
1531f1a4a7
commit
af4687cc3f
55 changed files with 36744 additions and 2 deletions
96
third_party/unzip/unzvers.h
vendored
Normal file
96
third_party/unzip/unzvers.h
vendored
Normal file
|
@ -0,0 +1,96 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
See the accompanying file LICENSE, version 2009-Jan-02 or later
|
||||
(the contents of which are also included in unzip.h) for terms of use.
|
||||
If, for some reason, all these files are missing, the Info-ZIP license
|
||||
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
|
||||
*/
|
||||
/*
|
||||
unzvers.h (for UnZip) by Info-ZIP.
|
||||
*/
|
||||
|
||||
#ifndef __unzvers_h /* don't include more than once */
|
||||
#define __unzvers_h
|
||||
|
||||
/*
|
||||
#ifdef BETA
|
||||
# undef BETA
|
||||
#endif
|
||||
*/
|
||||
|
||||
#ifndef BETA
|
||||
# define BETA /* undefine BETA for public releases */
|
||||
#endif
|
||||
|
||||
#ifdef BETA
|
||||
# define UZ_BETALEVEL "b BETA"
|
||||
# define UZ_VERSION_DATE "10 Dec 10" /* internal beta version */
|
||||
#else
|
||||
# define UZ_BETALEVEL ""
|
||||
# define UZ_VERSION_DATE "20 April 2009" /* official release version */
|
||||
# define RELEASE
|
||||
#endif
|
||||
|
||||
#define UZ_MAJORVER 6 /* UnZip */
|
||||
#define UZ_MINORVER 1
|
||||
|
||||
#define ZI_MAJORVER 3 /* ZipInfo */
|
||||
#define ZI_MINORVER 1
|
||||
|
||||
#define UZ_PATCHLEVEL 0
|
||||
|
||||
#define UZ_VER_STRING "6.1" /* keep in sync with Version numbers! */
|
||||
|
||||
#ifndef IZ_COMPANY_NAME /* might be already defined... */
|
||||
# define IZ_COMPANY_NAME "Info-ZIP"
|
||||
#endif
|
||||
|
||||
/* these are obsolete but remain for backward compatibility: */
|
||||
#if (defined(OS2) || defined(__OS2__))
|
||||
# define D2_MAJORVER UZ_MAJORVER /* DLL for OS/2 */
|
||||
# define D2_MINORVER UZ_MINORVER
|
||||
# define D2_PATCHLEVEL UZ_PATCHLEVEL
|
||||
#endif
|
||||
|
||||
#define DW_MAJORVER UZ_MAJORVER /* DLL for MS Windows */
|
||||
#define DW_MINORVER UZ_MINORVER
|
||||
#define DW_PATCHLEVEL UZ_PATCHLEVEL
|
||||
|
||||
#define WIN_VERSION_DATE UZ_VERSION_DATE
|
||||
|
||||
#define UNZ_DLL_VERSION UZ_VER_STRING
|
||||
|
||||
/* The following version constants specify the UnZip version that introduced
|
||||
* the most recent incompatible change (means: change that breaks backward
|
||||
* compatibility) of a DLL/Library binary API definition.
|
||||
*
|
||||
* Currently, UnZip supports three distinct DLL/Library APIs, which each
|
||||
* carry their own "compatibility level":
|
||||
* a) The "generic" (console-mode oriented) API has been used on UNIX,
|
||||
* for example. This API provides a "callable" interface similar to the
|
||||
* interactive command line of the normal program executables.
|
||||
* b) The OS/2-only API provides (additional) functions specially tailored
|
||||
* for interfacing with the REXX shell.
|
||||
* c) The Win32 DLL API with a pure binary interface which can be used to
|
||||
* build GUI mode as well as Console mode applications.
|
||||
*
|
||||
* Whenever a change that breaks backward compatibility gets applied to
|
||||
* any of the DLL/Library APIs, the corresponding compatibility level should
|
||||
* be synchronized with the current UnZip version numbers.
|
||||
*/
|
||||
/* generic DLL API minimum compatible version*/
|
||||
#define UZ_GENAPI_COMP_MAJOR 6
|
||||
#define UZ_GENAPI_COMP_MINOR 0
|
||||
#define UZ_GENAPI_COMP_REVIS 0
|
||||
/* os2dll API minimum compatible version*/
|
||||
#define UZ_OS2API_COMP_MAJOR 6
|
||||
#define UZ_OS2API_COMP_MINOR 0
|
||||
#define UZ_OS2API_COMP_REVIS 0
|
||||
/* windll API minimum compatible version*/
|
||||
#define UZ_WINAPI_COMP_MAJOR 6
|
||||
#define UZ_WINAPI_COMP_MINOR 0
|
||||
#define UZ_WINAPI_COMP_REVIS 0
|
||||
|
||||
#endif /* !__unzvers_h */
|
Loading…
Add table
Add a link
Reference in a new issue