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:
ahgamut 2021-06-10 05:30:58 +05:30 committed by Justine Tunney
parent 4ce5664c4b
commit 4d8f884e76
345 changed files with 298 additions and 77763 deletions

View file

@ -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