1/* 2 * Manually created fficonfig.h for darwin on PowerPC or Intel 3 * 4 * This file is manually generated to do away with the need for autoconf and 5 * therefore make it easier to cross-compile and build fat binaries. 6 * 7 * NOTE: This file was added by PyObjC. 8 */ 9 10#ifndef MACOSX 11# error "This file is only supported on Mac OS X" 12#endif 13 14#if defined(__i386__) 15# define BYTEORDER 1234 16# undef HOST_WORDS_BIG_ENDIAN 17# undef WORDS_BIGENDIAN 18# define SIZEOF_DOUBLE 8 19# define HAVE_LONG_DOUBLE 1 20# define SIZEOF_LONG_DOUBLE 16 21#elif defined(__ppc__) 22# define BYTEORDER 4321 23# define HOST_WORDS_BIG_ENDIAN 1 24# define WORDS_BIGENDIAN 1 25# define SIZEOF_DOUBLE 8 26 27#if __GNUC__ >= 4 28# define HAVE_LONG_DOUBLE 1 29# define SIZEOF_LONG_DOUBLE 16 30#else 31# undef HAVE_LONG_DOUBLE 32# define SIZEOF_LONG_DOUBLE 8 33#endif /* __GNUC__ */ 34 35#else 36# error "Unknown CPU type" 37#endif 38 39 40/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 41 systems. This function is required for `alloca.c' support on those systems. 42 */ 43#undef CRAY_STACKSEG_END 44 45/* Define to 1 if using `alloca.c'. */ 46/* #undef C_ALLOCA */ 47 48/* Define to the flags needed for the .section .eh_frame directive. */ 49#define EH_FRAME_FLAGS "aw" 50 51/* Define this if you want extra debugging. */ 52/* #undef FFI_DEBUG */ 53 54/* Define this is you do not want support for the raw API. */ 55#define FFI_NO_RAW_API 1 56 57/* Define this is you do not want support for aggregate types. */ 58/* #undef FFI_NO_STRUCTS */ 59 60/* Define to 1 if you have `alloca', as a function or macro. */ 61#define HAVE_ALLOCA 1 62 63/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 64 */ 65#define HAVE_ALLOCA_H 1 66 67/* Define if your assembler supports .register. */ 68/* #undef HAVE_AS_REGISTER_PSEUDO_OP */ 69 70/* Define if your assembler and linker support unaligned PC relative relocs. 71 */ 72/* #undef HAVE_AS_SPARC_UA_PCREL */ 73 74 75/* Define to 1 if you have the `memcpy' function. */ 76#define HAVE_MEMCPY 1 77 78/* Define if mmap with MAP_ANON(YMOUS) works. */ 79#define HAVE_MMAP_ANON 1 80 81/* Define if mmap of /dev/zero works. */ 82/* #undef HAVE_MMAP_DEV_ZERO */ 83 84/* Define if read-only mmap of a plain file works. */ 85#define HAVE_MMAP_FILE 1 86 87/* Define if .eh_frame sections should be read-only. */ 88/* #undef HAVE_RO_EH_FRAME */ 89 90 91/* Define to 1 if your C compiler doesn't accept -c and -o together. */ 92/* #undef NO_MINUS_C_MINUS_O */ 93 94/* Name of package */ 95#define PACKAGE "libffi" 96 97/* Define to the address where bug reports for this package should be sent. */ 98#define PACKAGE_BUGREPORT "http://gcc.gnu.org/bugs.html" 99 100/* Define to the full name of this package. */ 101#define PACKAGE_NAME "libffi" 102 103/* Define to the full name and version of this package. */ 104#define PACKAGE_STRING "libffi 2.1" 105 106/* Define to the one symbol short name of this package. */ 107#define PACKAGE_TARNAME "libffi" 108 109/* Define to the version of this package. */ 110#define PACKAGE_VERSION "2.1" 111 112 113/* If using the C implementation of alloca, define if you know the 114 direction of stack growth for your system; otherwise it will be 115 automatically deduced at run-time. 116 STACK_DIRECTION > 0 => grows toward higher addresses 117 STACK_DIRECTION < 0 => grows toward lower addresses 118 STACK_DIRECTION = 0 => direction of growth unknown */ 119/*#undef STACK_DIRECTION */ 120 121/* Define to 1 if you have the ANSI C header files. */ 122#define STDC_HEADERS 1 123 124/* Define this if you are using Purify and want to suppress spurious messages. 125 */ 126/*#undef USING_PURIFY*/ 127 128/* Version number of package */ 129#define VERSION "2.1-pyobjc" 130 131#ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 132#ifdef LIBFFI_ASM 133#define FFI_HIDDEN(name) .hidden name 134#else 135#define FFI_HIDDEN __attribute__ ((visibility ("hidden"))) 136#endif 137#else 138#ifdef LIBFFI_ASM 139#define FFI_HIDDEN(name) 140#else 141#define FFI_HIDDEN 142#endif 143#endif 144 145