Ticket #8300: alpha-unaligned.patch
File alpha-unaligned.patch, 628 bytes (added by , 21 years ago) |
---|
-
configure
RCS file: /cvsroot/scummvm/scummvm/configure,v retrieving revision 1.49 diff -u -p -r1.49 configure
cat > $TMPC << EOF 429 429 int main(int argc, char **argv) 430 430 { 431 431 unsigned char test[8] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 }; 432 /* Alpha doesn't crash on unaligned accesses, but they incur a 433 very high cost. */ 434 #ifdef __alpha__ 435 return 1; 436 #endif 432 437 signal(SIGBUS, exit); 433 438 signal(SIGABRT, exit); 434 439 signal(SIGSEGV, exit);