kolibrios-fun/programs/other/kpack/kerpack_linux/lzma_c/common.h

23 lines
444 B
C
Raw Normal View History

#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