configure: fix typo in sys/soundcard.h detection
[sox.git] / msvc10 / SndFile / config.h
blob0a0f913b1e813a7bd5792619aa408dafcf123bf7
1 /* libSoX libsndfile config for MSVC9: (c) 2009 SoX contributors
3 * This library is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation; either version 2.1 of the License, or (at
6 * your option) any later version.
8 * This library is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
11 * General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this library; if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 #define inline __inline
19 typedef __int64 __int64_t;
20 typedef __int64 int64_t;
21 typedef __int32 int32_t;
22 typedef unsigned __int32 uint32_t;
23 typedef unsigned __int16 uint16_t;
24 #define ptrdiff_t ssize_t
25 #define snprintf _snprintf
26 #define __func__ __FUNCTION__
27 #define FLAC__NO_DLL
28 #define lrint(f) ((long)(f))
29 #define lrintf(f) lrint(f)
31 /* Set to 1 if the compile is GNU GCC. */
32 #undef COMPILER_IS_GCC
34 /* Target processor clips on negative float to int conversion. */
35 #define CPU_CLIPS_NEGATIVE 0
37 /* Target processor clips on positive float to int conversion. */
38 #define CPU_CLIPS_POSITIVE 0
40 /* Target processor is big endian. */
41 #define CPU_IS_BIG_ENDIAN 0
43 /* Target processor is little endian. */
44 #define CPU_IS_LITTLE_ENDIAN 1
46 /* Set to 1 to enable experimental code. */
47 #undef ENABLE_EXPERIMENTAL_CODE
49 /* Define to 1 if you have the <alsa/asoundlib.h> header file. */
50 #undef HAVE_ALSA_ASOUNDLIB_H
52 /* Define to 1 if you have the <byteswap.h> header file. */
53 #undef HAVE_BYTESWAP_H
55 /* Define to 1 if you have the `calloc' function. */
56 #define HAVE_CALLOC 1
58 /* Define to 1 if you have the `ceil' function. */
59 #define HAVE_CEIL 1
61 /* Set to 1 if S_IRGRP is defined. */
62 #undef HAVE_DECL_S_IRGRP
64 /* Define to 1 if you have the <dlfcn.h> header file. */
65 #undef HAVE_DLFCN_H
67 /* Define to 1 if you have the <endian.h> header file. */
68 #undef HAVE_ENDIAN_H
70 /* Will be set to 1 if flac, ogg and vorbis are available. */
71 #define HAVE_EXTERNAL_LIBS 1
73 /* Set to 1 if the compile supports the struct hack. */
74 #define HAVE_FLEXIBLE_ARRAY 1
76 /* Define to 1 if you have the `floor' function. */
77 #define HAVE_FLOOR 1
79 /* Define to 1 if you have the `fmod' function. */
80 #define HAVE_FMOD 1
82 /* Define to 1 if you have the `free' function. */
83 #define HAVE_FREE 1
85 /* Define to 1 if you have the `fstat' function. */
86 #define HAVE_FSTAT 1
88 /* Define to 1 if you have the `fsync' function. */
89 #undef HAVE_FSYNC
91 /* Define to 1 if you have the `ftruncate' function. */
92 #undef HAVE_FTRUNCATE
94 /* Define to 1 if you have the `getpagesize' function. */
95 #undef HAVE_GETPAGESIZE
97 /* Define to 1 if you have the `gettimeofday' function. */
98 #undef HAVE_GETTIMEOFDAY
100 /* Define to 1 if you have the `gmtime' function. */
101 #define HAVE_GMTIME 1
103 /* Define to 1 if you have the `gmtime_r' function. */
104 #undef HAVE_GMTIME_R
106 /* Define to 1 if you have the <inttypes.h> header file. */
107 #undef HAVE_INTTYPES_H
109 /* Set to 1 if you have JACK. */
110 #undef HAVE_JACK
112 /* Define to 1 if you have the `m' library (-lm). */
113 #define HAVE_LIBM 1
115 /* Define to 1 if you have the <locale.h> header file. */
116 #define HAVE_LOCALE_H 1
118 /* Define to 1 if you have the `localtime' function. */
119 #define HAVE_LOCALTIME 1
121 /* Define to 1 if you have the `localtime_r' function. */
122 #undef HAVE_LOCALTIME_R
124 /* Define to 1 if you have the `lseek' function. */
125 #define HAVE_LSEEK 1
127 /* Define to 1 if you have the `malloc' function. */
128 #define HAVE_MALLOC 1
130 /* Define to 1 if you have the <memory.h> header file. */
131 #define HAVE_MEMORY_H 1
133 /* Define to 1 if you have the `mmap' function. */
134 #undef HAVE_MMAP
136 /* Define to 1 if you have the `open' function. */
137 #define HAVE_OPEN 1
139 /* Define to 1 if you have the `pread' function. */
140 #undef HAVE_PREAD
142 /* Define to 1 if you have the `pwrite' function. */
143 #undef HAVE_PWRITE
145 /* Define to 1 if you have the `read' function. */
146 #define HAVE_READ 1
148 /* Define to 1 if you have the `realloc' function. */
149 #define HAVE_REALLOC 1
151 /* Define to 1 if you have the `setlocale' function. */
152 #define HAVE_SETLOCALE 1
154 /* Define to 1 if you have the `snprintf' function. */
155 #define HAVE_SNPRINTF 1
157 /* Set to 1 if you have libsqlite3. */
158 #undef HAVE_SQLITE3
160 /* Define to 1 if the system has the type `ssize_t'. */
161 #undef HAVE_SSIZE_T
163 /* Define to 1 if you have the <stdint.h> header file. */
164 #define HAVE_STDINT_H 1
166 /* Define to 1 if you have the <stdlib.h> header file. */
167 #define HAVE_STDLIB_H 1
169 /* Define to 1 if you have the <strings.h> header file. */
170 #undef HAVE_STRINGS_H
172 /* Define to 1 if you have the <string.h> header file. */
173 #define HAVE_STRING_H 1
175 /* Define to 1 if you have the <sys/stat.h> header file. */
176 #define HAVE_SYS_STAT_H 1
178 /* Define to 1 if you have the <sys/time.h> header file. */
179 #undef HAVE_SYS_TIME_H
181 /* Define to 1 if you have the <sys/types.h> header file. */
182 #define HAVE_SYS_TYPES_H 1
184 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
185 #undef HAVE_SYS_WAIT_H
187 /* Define to 1 if you have the <unistd.h> header file. */
188 #undef HAVE_UNISTD_H
190 /* Set to 1 if we have vorbis_version_string. */
191 #undef HAVE_VORBIS_VERSION_STRING
193 /* Define to 1 if you have the `vsnprintf' function. */
194 #define HAVE_VSNPRINTF 1
196 /* Define to 1 if you have the `write' function. */
197 #define HAVE_WRITE 1
199 /* Define to the sub-directory in which libtool stores uninstalled libraries.
201 #undef LT_OBJDIR
203 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
204 #undef NO_MINUS_C_MINUS_O
206 /* Set to 1 if compiling for MacOSX */
207 #undef OS_IS_MACOSX
209 /* Set to 1 if compiling for Win32 */
210 #define OS_IS_WIN32 1
212 /* Name of package */
213 #define PACKAGE "libsndfile"
215 /* Define to the address where bug reports for this package should be sent. */
216 #define PACKAGE_BUGREPORT "erikd@mega-nerd.com"
218 /* Define to the full name of this package. */
219 #define PACKAGE_NAME "libsndfile"
221 /* Define to the full name and version of this package. */
222 #define PACKAGE_STRING "libsndfile 1.0.20"
224 /* Define to the one symbol short name of this package. */
225 #define PACKAGE_TARNAME "libsndfile"
227 /* Define to the version of this package. */
228 #define PACKAGE_VERSION "1.0.20"
230 /* Set to maximum allowed value of sf_count_t type. */
231 //#define SF_COUNT_MAX (9223372036854775807i64)
233 /* The size of `double', as computed by sizeof. */
234 #define SIZEOF_DOUBLE (8)
236 /* The size of `float', as computed by sizeof. */
237 #define SIZEOF_FLOAT (4)
239 /* The size of `int', as computed by sizeof. */
240 #define SIZEOF_INT (4)
242 /* The size of `int64_t', as computed by sizeof. */
243 #define SIZEOF_INT64_T (8)
245 /* The size of `loff_t', as computed by sizeof. */
246 #undef SIZEOF_LOFF_T
248 /* The size of `long', as computed by sizeof. */
249 #define SIZEOF_LONG (4)
251 /* The size of `long long', as computed by sizeof. */
252 #define SIZEOF_LONG_LONG (8)
254 /* The size of `off64_t', as computed by sizeof. */
255 #undef SIZEOF_OFF64_T
257 /* The size of `off_t', as computed by sizeof. */
258 #define SIZEOF_OFF_T (4)
260 /* Set to sizeof (long) if unknown. */
261 #define SIZEOF_SF_COUNT_T (8)
263 /* The size of `short', as computed by sizeof. */
264 #define SIZEOF_SHORT (2)
266 /* The size of `size_t', as computed by sizeof. */
267 #define SIZEOF_SIZE_T (4)
269 /* The size of `ssize_t', as computed by sizeof. */
270 #undef SIZEOF_SSIZE_T
272 /* The size of `void*', as computed by sizeof. */
273 #define SIZEOF_VOIDP (4)
275 /* The size of `wchar_t', as computed by sizeof. */
276 #define SIZEOF_WCHAR_T (2)
278 /* Define to 1 if you have the ANSI C header files. */
279 #define STDC_HEADERS 1
281 /* Set to long if unknown. */
282 #define TYPEOF_SF_COUNT_T __int64
284 /* Set to 1 to use the native windows API */
285 #define USE_WINDOWS_API 1
287 /* Version number of package */
288 #define VERSION "1.0.20"
290 /* Set to 1 if windows DLL is being built. */
291 #define WIN32_TARGET_DLL 1
293 /* Target processor is big endian. */
294 #undef WORDS_BIGENDIAN
296 /* Number of bits in a file offset, on hosts where this is settable. */
297 #undef _FILE_OFFSET_BITS
299 /* Define to make fseeko etc. visible, on some hosts. */
300 #undef _LARGEFILE_SOURCE
302 /* Define for large files, on AIX-style hosts. */
303 #undef _LARGE_FILES