Christian Heimes | 7864476 | 2008-03-04 23:39:23 +0000 | [diff] [blame] | 1 | /* Dispatch to the right ffitarget file. This file is PyObjC specific; in a |
| 2 | normal build, the build environment copies the file to the right location or |
| 3 | sets up the right include flags. We want to do neither because that would |
| 4 | make building fat binaries harder. |
| 5 | */ |
| 6 | |
| 7 | #if defined(__i386__) || defined(__x86_64__) |
| 8 | #include "x86-ffitarget.h" |
| 9 | #elif defined(__ppc__) || defined(__ppc64__) |
| 10 | #include "ppc-ffitarget.h" |
| 11 | #else |
| 12 | #error "Unsupported CPU type" |
| 13 | #endif |