diff options
Diffstat (limited to 'libffi/include/ffitarget.h')
-rw-r--r-- | libffi/include/ffitarget.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libffi/include/ffitarget.h b/libffi/include/ffitarget.h new file mode 100644 index 0000000..61d8c29 --- /dev/null +++ b/libffi/include/ffitarget.h @@ -0,0 +1,19 @@ +/* + * Dispatch to the right ffitarget file. This file is PyObjC specific, in a + * normal build the build environment copies the file to the right location or + * sets up the right include flags. We want to do neither because that would + * make building fat binaries harder. + */ +#if defined(__i386__) + +#include "../src/x86/ffitarget.h" + +#elif defined(__ppc__) + +#include "../src/powerpc/ffitarget.h" + +#else + +#errror "Unsupported CPU type" + +#endif |