mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
C/7zTypes.h #if (WITH_LZMA >= 0x938)
This commit is contained in:
parent
7ca14d209c
commit
d612585582
|
@ -98,7 +98,13 @@ int compress_lzma_dummy = 0;
|
||||||
#if (WITH_LZMA != (0x100 * MY_VER_MAJOR) + (0x10 * (MY_VER_MINOR / 10)) + (MY_VER_MINOR % 10))
|
#if (WITH_LZMA != (0x100 * MY_VER_MAJOR) + (0x10 * (MY_VER_MINOR / 10)) + (MY_VER_MINOR % 10))
|
||||||
# error "WITH_LZMA version mismatch"
|
# error "WITH_LZMA version mismatch"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (WITH_LZMA >= 0x938)
|
||||||
|
#include "C/7zTypes.h"
|
||||||
|
#else
|
||||||
#include "C/Types.h"
|
#include "C/Types.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
static void *cb_alloc(void *, size_t size) {
|
static void *cb_alloc(void *, size_t size) {
|
||||||
return malloc(size);
|
return malloc(size);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user