blob: e5828176a7fb01cbe428735d970d8f32f890de6f [file] [log] [blame]
#pragma once
#ifdef _MSC_VER
#if _MSC_VER >= 1600
#define HAVE_STDINT_H
#else
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned __int64 uint64_t;
#endif
#include <intrin.h>
#else
#define HAVE_INTTYPES_H
#define HAVE_STDINT_H
#define HAVE_STDBOOL_H
#if defined(__MINGW32__) && defined(__USE_MINGW_ANSI_STDIO)
#undef __USE_MINGW_ANSI_STDIO
#endif
#ifdef __cplusplus
#define restrict
#define lzma_nothrow
#elif (__GXX_ABI_VERSION && __GXX_ABI_VERSION <= 1002)
#define restrict
#define __need_sigset_t
#endif
#endif
#define ASSUME_RAM 32
#define HAVE_CHECK_CRC32 1
#define HAVE_DECODERS 1
#define HAVE_DECODER_ARM 1
#define HAVE_DECODER_ARMTHUMB 1
#define HAVE_DECODER_LZMA2 1
#define HAVE_ENCODERS 1
#define HAVE_ENCODER_ARM 1
#define HAVE_ENCODER_ARMTHUMB 1
#define HAVE_ENCODER_LZMA2 1
#define HAVE_MF_BT4 1
#define HAVE_MF_HC4 1
#define TUKLIB_FAST_UNALIGNED_ACCESS 1