xref: /third_party/libsnd/include/config.h (revision b815c7f3)
1/*
2** Copyright (C) 2007-2011 Erik de Castro Lopo <erikd@mega-nerd.com>
3** Copyright (c) 2007 <robs@users.sourceforge.net>
4**
5** This library is free software; you can redistribute it and/or modify it
6** under the terms of the GNU Lesser General Public License as published by
7** the Free Software Foundation; either version 2 of the License, or (at
8** your option) any later version.
9**
10** This library is distributed in the hope that it will be useful, but
11** WITHOUT ANY WARRANTY; without even the implied warranty of
12** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
13** General Public License for more details.
14**
15** You should have received a copy of the GNU Lesser General Public License
16** along with this library.  If not, write to the Free Software Foundation,
17** Fifth Floor, 51 Franklin Street, Boston, MA 02111-1301, USA.
18*/
19
20/* Set to 1 if the compile is GNU GCC. */
21#define COMPILER_IS_GCC 1
22
23/* Target processor clips on negative float to int conversion. */
24#define CPU_CLIPS_NEGATIVE 0
25
26/* Target processor clips on positive float to int conversion. */
27#define CPU_CLIPS_POSITIVE 0
28
29/* Target processor is big endian. */
30#define CPU_IS_BIG_ENDIAN 0
31
32/* Target processor is little endian. */
33#define CPU_IS_LITTLE_ENDIAN 1
34
35/* Set to 1 to enable experimental code. */
36#define ENABLE_EXPERIMENTAL_CODE 0
37
38/* Define to 1 if you have the <alsa/asoundlib.h> header file. */
39#define HAVE_ALSA_ASOUNDLIB_H 1
40
41/* Define to 1 if you have the <byteswap.h> header file. */
42#define HAVE_BYTESWAP_H 1
43
44/* Define to 1 if you have the `calloc' function. */
45#define HAVE_CALLOC 0
46
47/* Define to 1 if you have the `ceil' function. */
48#define HAVE_CEIL 0
49
50/* Set to 1 if S_IRGRP is defined. */
51#define HAVE_DECL_S_IRGRP 1
52
53/* Define to 1 if you have the <dlfcn.h> header file. */
54#define HAVE_DLFCN_H 1
55
56/* Define to 1 if you have the <direct.h> header file. */
57/* #undef HAVE_DIRECT_H */
58
59/* Define to 1 if you have the <endian.h> header file. */
60#define HAVE_ENDIAN_H 1
61
62/* Will be set to 1 if flac, ogg and vorbis are available. */
63#define HAVE_EXTERNAL_XIPH_LIBS 0
64
65/* Will be set to 1 if lame and mpg123 are available. */
66#define HAVE_MPEG 0
67
68/* Define to 1 if you have the `floor' function. */
69#define HAVE_FLOOR 0
70
71/* Define to 1 if you have the `fmod' function. */
72#define HAVE_FMOD 0
73
74/* Define to 1 if you have the `free' function. */
75#define HAVE_FREE 0
76
77/* Define to 1 if you have the `fstat' function. */
78#define HAVE_FSTAT 1
79
80/* Define to 1 if you have the `fstat64' function. */
81#define HAVE_FSTAT64 1
82
83/* Define to 1 if you have the `fsync' function. */
84#define HAVE_FSYNC 1
85
86/* Define to 1 if you have the `ftruncate' function. */
87#define HAVE_FTRUNCATE 1
88
89/* Define to 1 if you have the `getpagesize' function. */
90#define HAVE_GETPAGESIZE 0
91
92/* Define to 1 if you have the `gettimeofday' function. */
93#define HAVE_GETTIMEOFDAY 1
94
95/* Define if you have the `gmtime' function. */
96#define HAVE_GMTIME
97
98/* Define if you have the `gmtime_r' function. */
99#define HAVE_GMTIME_R
100
101/* Define to 1 if you have the <inttypes.h> header file. */
102#define HAVE_INTTYPES_H 1
103
104/* Define to 1 if you have the <io.h> header file. */
105/* #undef HAVE_IO_H */
106
107/* Define to 1 if you have the `m' library (-lm). */
108#define HAVE_LIBM 0
109
110/* Define to 1 if you have the <locale.h> header file. */
111#define HAVE_LOCALE_H 1
112
113/* Define if you have the `localtime' function. */
114#define HAVE_LOCALTIME
115
116/* Define if you have the `localtime_r' function. */
117#define HAVE_LOCALTIME_R
118
119/* Define if you have C99's lrint function. */
120#define HAVE_LRINT 1
121
122/* Define if you have C99's lrintf function. */
123#define HAVE_LRINTF 1
124
125/* Define to 1 if you have the `lround' function. */
126#define HAVE_LROUND 0
127
128/* Define to 1 if you have the `lseek' function. */
129#define HAVE_LSEEK 1
130
131/* Define to 1 if you have the `lseek64' function. */
132#define HAVE_LSEEK64 0
133
134/* Define to 1 if you have the `malloc' function. */
135#define HAVE_MALLOC 0
136
137/* Define to 1 if you have the <memory.h> header file. */
138#define HAVE_MEMORY_H 0
139
140/* Define to 1 if you have the `mmap' function. */
141#define HAVE_MMAP 0
142
143/* Define to 1 if you have the `open' function. */
144#define HAVE_OPEN 1
145
146/* Define to 1 if you have the `pipe' function. */
147#define HAVE_PIPE 1
148
149/* Define to 1 if you have the `read' function. */
150#define HAVE_READ 1
151
152/* Define to 1 if you have the `realloc' function. */
153#define HAVE_REALLOC 0
154
155/* Define to 1 if you have the `setlocale' function. */
156#define HAVE_SETLOCALE 1
157
158/* Set to 1 if <sndio.h> is available. */
159#define HAVE_SNDIO_H 0
160
161/* Define to 1 if you have the `snprintf' function. */
162#define HAVE_SNPRINTF 0
163
164/* Set to 1 if you have libsqlite3. */
165#define HAVE_SQLITE3 1
166
167/* Define to 1 if the system has the type `ssize_t'. */
168#define HAVE_SSIZE_T 0
169
170/* Define to 1 if you have the <stdint.h> header file. */
171#define HAVE_STDINT_H 1
172
173/* Define to 1 if you have the <stdlib.h> header file. */
174#define HAVE_STDLIB_H 0
175
176/* Define to 1 if you have the <strings.h> header file. */
177#define HAVE_STRINGS_H 0
178
179/* Define to 1 if you have the <string.h> header file. */
180#define HAVE_STRING_H 0
181
182/* Define to 1 if you have the <sys/stat.h> header file. */
183#define HAVE_SYS_STAT_H 0
184
185/* Define to 1 if you have the <sys/time.h> header file. */
186#define HAVE_SYS_TIME_H 1
187
188/* Define to 1 if you have the <sys/types.h> header file. */
189#define HAVE_SYS_TYPES_H 1
190
191/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
192#define HAVE_SYS_WAIT_H 1
193
194/* Define to 1 if you have the <unistd.h> header file. */
195#define HAVE_UNISTD_H 1
196
197/* Define to 1 if you have the <immintrin.h> header file. */
198#define HAVE_IMMINTRIN_H 1
199
200/* Define to 1 if you have the <stdbool.h> header file. */
201#define HAVE_STDBOOL_H 1
202
203/* Define to 1 if you have the `vsnprintf' function. */
204#define HAVE_VSNPRINTF 0
205
206/* Define to 1 if you have the `waitpid' function. */
207#define HAVE_WAITPID 1
208
209/* Define to 1 if you have the `write' function. */
210#define HAVE_WRITE 1
211
212/* The darwin version, no-zero is valid */
213#define OSX_DARWIN_VERSION 0
214
215/* Set to 1 if compiling for OpenBSD */
216#define OS_IS_OPENBSD 0
217
218/* Set to 1 if compiling for Win32 */
219#define OS_IS_WIN32 0
220
221/* Set to 1 if SSE2 is enabled */
222/* #undef USE_SSE2 */
223
224/* Name of package */
225#define PACKAGE "libsndfile"
226
227/* Define to the address where bug reports for this package should be sent. */
228#define PACKAGE_BUGREPORT ""
229
230/* Define to the full name of this package. */
231#define PACKAGE_NAME "libsndfile"
232
233/* Define to the full name and version of this package. */
234#define PACKAGE_STRING "libsndfile 1.0.31"
235
236/* Define to the one symbol short name of this package. */
237#define PACKAGE_TARNAME "libsndfile"
238
239/* Define to the home page for this package. */
240#define PACKAGE_URL ""
241
242/* Define to the version of this package. */
243#define PACKAGE_VERSION "1.0.31"
244
245/* Set to maximum allowed value of sf_count_t type. */
246#define SF_COUNT_MAX 0x7FFFFFFFFFFFFFFFLL
247
248/* The size of `double', as computed by sizeof. */
249
250
251/* The size of `float', as computed by sizeof. */
252
253
254/* The size of `int', as computed by sizeof. */
255
256
257/* The size of `int64_t', as computed by sizeof. */
258#define SIZEOF_INT64_T 8
259
260/* The size of `loff_t', as computed by sizeof. */
261
262
263/* The size of `long', as computed by sizeof. */
264#define SIZEOF_LONG 8
265
266/* The size of `long long', as computed by sizeof. */
267#define SIZEOF_LONG_LONG 8
268
269/* The size of `off64_t', as computed by sizeof. */
270
271
272/* The size of `off_t', as computed by sizeof. */
273#define SIZEOF_OFF_T 8
274
275/* Set to sizeof (long) if unknown. */
276#define SIZEOF_SF_COUNT_T 8
277
278/* The size of `short', as computed by sizeof. */
279
280
281/* The size of `size_t', as computed by sizeof. */
282
283
284/* The size of `ssize_t', as computed by sizeof. */
285#define SIZEOF_SSIZE_T 8
286
287/* The size of `void*', as computed by sizeof. */
288
289
290/* The size of `wchar_t', as computed by sizeof. */
291#define SIZEOF_WCHAR_T 4
292
293/* Set to long if unknown. */
294#define TYPEOF_SF_COUNT_T int64_t
295
296/* Enable extensions on AIX 3, Interix.  */
297#ifndef _ALL_SOURCE
298# undef _ALL_SOURCE
299#endif
300/* Enable GNU extensions on systems that have them.  */
301#ifndef _GNU_SOURCE
302# undef _GNU_SOURCE
303#endif
304/* Enable threading extensions on Solaris.  */
305#ifndef _POSIX_PTHREAD_SEMANTICS
306# undef _POSIX_PTHREAD_SEMANTICS
307#endif
308/* Enable extensions on HP NonStop.  */
309#ifndef _TANDEM_SOURCE
310# undef _TANDEM_SOURCE
311#endif
312/* Enable general extensions on Solaris.  */
313#ifndef __EXTENSIONS__
314# undef __EXTENSIONS__
315#endif
316
317
318/* Set to 1 to use the native windows API */
319#define USE_WINDOWS_API 0
320
321/* Version number of package */
322#define VERSION "1.0.31"
323
324/* Set to 1 if windows DLL is being built. */
325#define WIN32_TARGET_DLL 0
326
327/* Target processor is big endian. */
328#define WORDS_BIGENDIAN 0
329
330/* Enable large inode numbers on Mac OS X 10.5.  */
331#ifndef _DARWIN_USE_64_BIT_INODE
332# define _DARWIN_USE_64_BIT_INODE 1
333#endif
334
335/* Define to 1 if on MINIX. */
336#define _MINIX 0
337
338/* Define as `__inline' or '__inline__' if that's what the C compiler calls it, or to nothing if it is not supported. */
339/* #undef inline */
340