kolibrios-fun/programs/other/kpack/kerpack_linux/lzma_c/common.h
CleverMouse cd74d1af33 switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-12 15:15:23 +00:00

23 lines
444 B
C

#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