summaryrefslogtreecommitdiff
path: root/libffi/include/fficonfig.h
blob: 7013c6f23988744ff1f3a1cc82c62d5a74315176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/*
 * Manually created fficonfig.h for darwin on PowerPC or Intel 
 *
 * This file is manually generated to do away with the need for autoconf and
 * therefore make it easier to cross-compile and build fat binaries.
 *
 * NOTE: This file was added by PyObjC.
 */

#ifndef MACOSX
# error "This file is only supported on Mac OS X"
#endif

#if defined(__i386__)
#   define BYTEORDER 1234
#   undef HOST_WORDS_BIG_ENDIAN
#   undef WORDS_BIGENDIAN
#   define SIZEOF_DOUBLE 8
#   define HAVE_LONG_DOUBLE 1
#   define SIZEOF_LONG_DOUBLE 16
#elif defined(__ppc__)
#   define BYTEORDER 4321
#   define HOST_WORDS_BIG_ENDIAN 1
#   define WORDS_BIGENDIAN 1
#   define SIZEOF_DOUBLE 8

#if __GNUC__ >= 4
#   define HAVE_LONG_DOUBLE 1
#   define SIZEOF_LONG_DOUBLE 16 
#else
#   undef HAVE_LONG_DOUBLE
#   define SIZEOF_LONG_DOUBLE 8 
#endif /* __GNUC__ */

#else
#  error "Unknown CPU type"
#endif


/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
   systems. This function is required for `alloca.c' support on those systems.
   */
#undef CRAY_STACKSEG_END

/* Define to 1 if using `alloca.c'. */
/* #undef C_ALLOCA */

/* Define to the flags needed for the .section .eh_frame directive. */
#define EH_FRAME_FLAGS "aw"

/* Define this if you want extra debugging. */
/* #undef FFI_DEBUG */

/* Define this is you do not want support for the raw API. */
#define FFI_NO_RAW_API 1

/* Define this is you do not want support for aggregate types. */
/* #undef FFI_NO_STRUCTS */

/* Define to 1 if you have `alloca', as a function or macro. */
#define HAVE_ALLOCA 1

/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
   */
#define HAVE_ALLOCA_H 1

/* Define if your assembler supports .register. */
/* #undef HAVE_AS_REGISTER_PSEUDO_OP */

/* Define if your assembler and linker support unaligned PC relative relocs.
   */
/* #undef HAVE_AS_SPARC_UA_PCREL */


/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1

/* Define if mmap with MAP_ANON(YMOUS) works. */
#define HAVE_MMAP_ANON 1

/* Define if mmap of /dev/zero works. */
/* #undef HAVE_MMAP_DEV_ZERO */

/* Define if read-only mmap of a plain file works. */
#define HAVE_MMAP_FILE 1

/* Define if .eh_frame sections should be read-only. */
/* #undef HAVE_RO_EH_FRAME */


/* Define to 1 if your C compiler doesn't accept -c and -o together. */
/* #undef NO_MINUS_C_MINUS_O */

/* Name of package */
#define PACKAGE "libffi"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "http://gcc.gnu.org/bugs.html"

/* Define to the full name of this package. */
#define PACKAGE_NAME "libffi"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "libffi 2.1"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libffi"

/* Define to the version of this package. */
#define PACKAGE_VERSION "2.1"


/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
   automatically deduced at run-time.
	STACK_DIRECTION > 0 => grows toward higher addresses
	STACK_DIRECTION < 0 => grows toward lower addresses
	STACK_DIRECTION = 0 => direction of growth unknown */
/*#undef STACK_DIRECTION */

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Define this if you are using Purify and want to suppress spurious messages.
   */
/*#undef USING_PURIFY*/

/* Version number of package */
#define VERSION "2.1-pyobjc"