30
45
printf("#ifndef ENDIAN_H\n#define ENDIAN_H\n");
34
49
} else if (force_BE == 1) {
36
51
} else if (force_PREPROCESSOR == 1) {
37
52
/* Support for universal binaries on OSX
38
53
* Universal binaries supports both PPC and x86
39
54
* If a compiler for OSX gets this setting, it will always pick the correct endian and no test is needed
41
56
printf("#ifdef __BIG_ENDIAN__\n");
46
61
} else if (*(short*)endian_test == 1 ) {