mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 14:28:30 +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
26
third_party/unzip/zip.h
vendored
Normal file
26
third_party/unzip/zip.h
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
|
||||
|
||||
See the accompanying file LICENSE, version 2003-May-08 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
|
||||
*/
|
||||
/* This is a dummy zip.h to allow the source files shared with Zip
|
||||
(crypt.c, crc32.c, ttyio.c, win32/win32i64.c) to compile for UnZip.
|
||||
(In case you are looking for the Info-ZIP license, please follow
|
||||
the pointers above.) */
|
||||
|
||||
#ifndef __zip_h /* don't include more than once */
|
||||
#define __zip_h
|
||||
|
||||
#define UNZIP_INTERNAL
|
||||
#include "third_party/unzip/unzip.h"
|
||||
|
||||
#define local static
|
||||
|
||||
#define ZE_MEM PK_MEM
|
||||
#define ziperr(c, h) return
|
||||
|
||||
#endif /* !__zip_h */
|
Loading…
Add table
Add a link
Reference in a new issue