Ticket #4168: config.log
File config.log, 432 bytes (added by , 15 years ago) |
---|
Line | |
---|---|
1 | Configure run on Sun Feb 15 22:32:00 2009 |
2 | |
3 | #include <stdlib.h> |
4 | #include <signal.h> |
5 | int main(int argc, char **argv) |
6 | { |
7 | unsigned char test[8] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88 }; |
8 | signal(SIGBUS, exit); |
9 | signal(SIGABRT, exit); |
10 | signal(SIGSEGV, exit); |
11 | if (*((unsigned int *)(test + 1)) != 0x55443322 && *((unsigned int *)(test + 1)) != 0x22334455) { |
12 | return 1; |
13 | } |
14 | return 0; |
15 | } |
16 | |
17 | g++ scummvm-conf.cpp -o scummvm-conf |
18 |