#ifndef _COMMON_H #define _COMMON_H #include #include // 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 #ifndef __stdcall #define __stdcall __attribute__((stdcall)) #endif 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