Introduced UPX_VERSION_YEAR.

committer: mfx <mfx> 1139826163 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2006-02-13 10:22:43 +00:00
parent b4e9ad031b
commit 5b2f1b6d8b
13 changed files with 45 additions and 23 deletions
+3
View File
@@ -1106,6 +1106,9 @@ void upx_sanity_check(void)
COMPILE_TIME_ASSERT(sizeof(UPX_VERSION_STRING4) == 4 + 1)
assert(strlen(UPX_VERSION_STRING4) == 4);
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 + strlen(UPX_VERSION_DATE) - 4, UPX_VERSION_YEAR, 4) == 0);
#if 1
# if 1