Norman James | 6a58a27 | 2015-10-07 14:34:16 -0500 | [diff] [blame] | 1 | #!/bin/sh |
2 | echo "#if defined(__powerpc__) | ||||
3 | echo -n ARCH_POWERPC | ||||
4 | #elif defined(__x86_64__) || defined(__i386__) | ||||
5 | echo -n ARCH_X86 | ||||
6 | #elif defined(__arm__) | ||||
7 | echo -n ARCH_ARM | ||||
8 | #else | ||||
9 | echo -n ARCH_UNKNOWN | ||||
10 | #endif" | $1cpp | sh | ||||
11 |