summaryrefslogtreecommitdiff
path: root/libffi/include/ffitarget.h
blob: 61d8c295d27a5c4553e9c1eb656b328ecf799b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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