Added UPX_VERSION_DATE_ISO.
committer: mfx <mfx> 1142085195 +0000
This commit is contained in:
parent
aabefff298
commit
fcc22a0aa3
@ -1114,6 +1114,7 @@ void upx_sanity_check(void)
|
||||
assert(memcmp(UPX_VERSION_STRING4, UPX_VERSION_STRING, 4) == 0);
|
||||
COMPILE_TIME_ASSERT(sizeof(UPX_VERSION_YEAR) == 4 + 1)
|
||||
assert(strlen(UPX_VERSION_YEAR) == 4);
|
||||
assert(memcmp(UPX_VERSION_DATE_ISO, UPX_VERSION_YEAR, 4) == 0);
|
||||
assert(memcmp(UPX_VERSION_DATE + strlen(UPX_VERSION_DATE) - 4, UPX_VERSION_YEAR, 4) == 0);
|
||||
|
||||
#if 1
|
||||
|
||||
@ -2,4 +2,5 @@
|
||||
#define UPX_VERSION_STRING "1.94 beta"
|
||||
#define UPX_VERSION_STRING4 "1.94"
|
||||
#define UPX_VERSION_DATE "Mar 11th 2006"
|
||||
#define UPX_VERSION_DATE_ISO "2006-03-11"
|
||||
#define UPX_VERSION_YEAR "2006"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user