mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
LZMA version 15.05
This commit is contained in:
parent
9d7e44feff
commit
b89c3ebb42
|
@ -95,7 +95,8 @@ int compress_lzma_dummy = 0;
|
||||||
|
|
||||||
#if (WITH_LZMA >= 0x461)
|
#if (WITH_LZMA >= 0x461)
|
||||||
#include "C/7zVersion.h"
|
#include "C/7zVersion.h"
|
||||||
#if (WITH_LZMA != (0x100 * MY_VER_MAJOR) + (0x10 * (MY_VER_MINOR / 10)) + (MY_VER_MINOR % 10))
|
#if (WITH_LZMA != ((0x1000 * (MY_VER_MAJOR / 10)) + (0x0100 * (MY_VER_MAJOR % 10)) +\
|
||||||
|
(0x0010 * (MY_VER_MINOR / 10)) + (0x0001 * (MY_VER_MINOR % 10))))
|
||||||
# error "WITH_LZMA version mismatch"
|
# error "WITH_LZMA version mismatch"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
2
src/stub/src/c/Makevars.lzma
Normal file → Executable file
2
src/stub/src/c/Makevars.lzma
Normal file → Executable file
|
@ -12,7 +12,7 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(wildcard $(UPX_LZMADIR)/C/7zVersion.h),)
|
ifneq ($(wildcard $(UPX_LZMADIR)/C/7zVersion.h),)
|
||||||
UPX_LZMA_VERSION := $(shell perl -ne 'print "0x$$1$$2" if /^\s*\#\s*define\s+MY_VERSION\s+"(\d)\.(\d\d)[\s\w]*"/;' $(UPX_LZMADIR)/C/7zVersion.h)
|
UPX_LZMA_VERSION := $(shell perl -ne 'print "0x$$1$$2" if /^\s*\#\s*define\s+MY_VERSION\s+"(\d*)\.(\d\d)[\s\w]*"/;' $(UPX_LZMADIR)/C/7zVersion.h)
|
||||||
else ifneq ($(wildcard $(UPX_LZMADIR)/CPP/Windows/Time.cpp),)
|
else ifneq ($(wildcard $(UPX_LZMADIR)/CPP/Windows/Time.cpp),)
|
||||||
UPX_LZMA_VERSION = 0x459
|
UPX_LZMA_VERSION = 0x459
|
||||||
else ifneq ($(wildcard $(UPX_LZMADIR)/C/7zBuf.h),)
|
else ifneq ($(wildcard $(UPX_LZMADIR)/C/7zBuf.h),)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user