mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Get Info-ZIP's zip to build
* removed unnecessary files (like amiga/osdep.h) * makefile has 4 targets: zip, zipnote, zipcloak, zipsplit * added clang-format off at the start of all source files * added necessary headers
This commit is contained in:
parent
4ce5664c4b
commit
4d8f884e76
345 changed files with 298 additions and 77763 deletions
17
third_party/infozip/zip/zipcloak.c
vendored
17
third_party/infozip/zip/zipcloak.c
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/*
|
||||
zipcloak.c - Zip 3
|
||||
|
||||
|
@ -21,15 +22,17 @@
|
|||
#ifndef UTIL
|
||||
# define UTIL
|
||||
#endif
|
||||
#include "zip.h"
|
||||
#include "third_party/infozip/zip/zip.h"
|
||||
#define DEFCPYRT /* main module: enable copyright string defines! */
|
||||
#include "revision.h"
|
||||
#include "crc32.h"
|
||||
#include "crypt.h"
|
||||
#include "ttyio.h"
|
||||
#include <signal.h>
|
||||
#include "third_party/infozip/zip/revision.h"
|
||||
#include "third_party/infozip/zip/crc32.h"
|
||||
#include "third_party/infozip/zip/crypt.h"
|
||||
#include "third_party/infozip/zip/ttyio.h"
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/stdio/temp.h"
|
||||
#ifndef NO_STDLIB_H
|
||||
# include <stdlib.h>
|
||||
# include "libc/mem/mem.h"
|
||||
#endif
|
||||
|
||||
#if CRYPT /* defined (as TRUE or FALSE) in crypt.h */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue