Resynced with upx 1.2 branch.
committer: mfx <mfx> 1031577224 +0000
This commit is contained in:
+10
-3
@@ -1,11 +1,18 @@
|
||||
#include <winres.h>
|
||||
#include "version.h"
|
||||
|
||||
#define VERSION_MAJOR ((UPX_VERSION_HEX >> 16) & 0xff)
|
||||
#define VERSION_MINOR ((UPX_VERSION_HEX >> 8) & 0xff)
|
||||
#define VERSION_MICRO ((UPX_VERSION_HEX >> 0) & 0xff)
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 90
|
||||
#define VERSION_MICRO 0
|
||||
#define VERSION_STRING UPX_VERSION_STRING
|
||||
|
||||
#define H(v,s) ((0x ## v) << (s))
|
||||
#define VERSION_HEX \
|
||||
(H(VERSION_MAJOR, 16) | H(VERSION_MINOR, 8) | H(VERSION_MICRO, 0))
|
||||
#if (VERSION_HEX != UPX_VERSION_HEX)
|
||||
# error "version mismatch"
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||
|
||||
Reference in New Issue
Block a user