Portability updates.

committer: mfx <mfx> 1054071025 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-05-27 21:30:25 +00:00
parent 757bdd1264
commit b2949259c5
13 changed files with 105 additions and 61 deletions
+2 -2
View File
@@ -1034,7 +1034,7 @@ void upx_sanity_check(void)
COMPILE_TIME_ASSERT(sizeof(LE16) == 2);
COMPILE_TIME_ASSERT(sizeof(LE32) == 4);
#if defined(__GNUC__) || defined(__INTEL_COMPILER)
#if defined(__GNUC__) || (ACC_CC_INTELC >= 700)
COMPILE_TIME_ASSERT(__alignof__(BE16) == 1);
COMPILE_TIME_ASSERT(__alignof__(BE32) == 1);
COMPILE_TIME_ASSERT(__alignof__(LE16) == 1);
@@ -1118,7 +1118,7 @@ void upx_sanity_check(void)
#if !defined(WITH_GUI)
int main(int argc, char *argv[])
int __UPX_CDECL main(int argc, char *argv[])
{
int i;
static char default_argv0[] = "upx";