get lzma_c from kerpack_linux

This commit is contained in:
2025-03-22 18:41:40 +03:00
commit 42e04486e7
18 changed files with 2242 additions and 0 deletions

22
lzma_c/common.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef _COMMON_H
#define _COMMON_H
typedef unsigned char byte;
typedef unsigned short word;
// conditional compiling, mike.dld
#ifdef WIN32
typedef unsigned __int64 uint64;
#else
typedef unsigned long long uint64;
#define __stdcall __attribute__((stdcall))
#endif
typedef byte bool;
#define true 1
#define false 0
extern unsigned pack_length;
extern unsigned pack_pos;
extern const byte* curin;
extern byte* curout;
#endif