made it compile on gcc linux 64. segfault in preprocess calltrick todo fix

This commit is contained in:
2025-04-18 13:44:42 +03:00
parent 21d6c2c207
commit 1f985d3fba
3 changed files with 15 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
#ifndef LZMA_ENCODER_API_H_
#define LZMA_ENCODER_API_H_
#include "common.h"
void __stdcall lzma_set_dict_size(unsigned logdictsize);
unsigned __stdcall lzma_compress(

View File

@@ -17,6 +17,10 @@
// #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;