mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38: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
12
third_party/infozip/zip/zipnote.c
vendored
12
third_party/infozip/zip/zipnote.c
vendored
|
@ -1,3 +1,4 @@
|
|||
/* clang-format off */
|
||||
/*
|
||||
zipnote.c - Zip 3
|
||||
|
||||
|
@ -16,10 +17,15 @@
|
|||
#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 <signal.h>
|
||||
#include "third_party/infozip/zip/revision.h"
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/alg/alg.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/stdio/temp.h"
|
||||
|
||||
/* Calculate size of static line buffer used in write (-w) mode. */
|
||||
#define WRBUFSIZ 2047
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue