Cleanups.

committer: mfx <mfx> 1090594763 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2004-07-23 14:59:23 +00:00
parent 14ced962db
commit ed9057ca83
4 changed files with 97 additions and 144 deletions
+5 -2
View File
@@ -1028,14 +1028,17 @@ static void first_options(int argc, char **argv)
// assert a sane architecture and compiler
**************************************************************************/
#define ACC_WANT_ACC_CHK_CH 1
#undef ACCCHK_ASSERT
#include "miniacc.h"
void upx_sanity_check(void)
{
#define ACC_WANT_ACC_CHK_CH 1
#undef ACCCHK_ASSERT
#define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr)
#include "miniacc.h"
#undef ACC_WANT_ACC_CHK_CH
#undef ACCCHK_ASSERT
#undef ACC_WANT_ACC_CHK_CH
COMPILE_TIME_ASSERT(sizeof(char) == 1)
COMPILE_TIME_ASSERT(sizeof(short) == 2)