From 181d8ded82d49d0133d9d6fd1631d9816c970bfa Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 26 Jan 2008 12:06:34 +0100 Subject: Import libffi from PyObjC 1.3.7. darcs-hash:129bccb59266f997deac9b0353aea2d2d4049f92 --- libffi/include/ffitarget.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libffi/include/ffitarget.h (limited to 'libffi/include/ffitarget.h') 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 -- cgit v1.2.3