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 */
/*
unix/osdep.h - Zip 3
@ -27,8 +28,9 @@
# define _LARGE_FILES /* some OSes need this for 64-bit off_t */
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include "libc/calls/weirdtypes.h"
#include "libc/calls/calls.h"
#include "libc/sysv/consts/s.h"
/* printf format size prefix for zoff_t values */
#ifdef LARGE_FILE_SUPPORT