files
kpack_c/lzma_c/common.h

30 lines
576 B
C

#ifndef _COMMON_H
#define _COMMON_H
#include <stdint.h>
#include <stdbool.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
typedef uint8_t byte;
typedef uint16_t word;
typedef uint64_t uint64;
extern unsigned pack_length;
extern unsigned pack_pos;
extern const byte* curin;
extern byte* curout;
#endif