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__
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. */
58 /* Define to 1 if you have the `ceil' function. */
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. */
67 /* Define to 1 if you have the <endian.h> header file. */
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. */
79 /* Define to 1 if you have the `fmod' function. */
82 /* Define to 1 if you have the `free' function. */
85 /* Define to 1 if you have the `fstat' function. */
88 /* Define to 1 if you have the `fsync' function. */
91 /* Define to 1 if you have the `ftruncate' function. */
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. */
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. */
112 /* Define to 1 if you have the `m' library (-lm). */
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. */
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. */
136 /* Define to 1 if you have the `open' function. */
139 /* Define to 1 if you have the `pread' function. */
142 /* Define to 1 if you have the `pwrite' function. */
145 /* Define to 1 if you have the `read' function. */
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. */
160 /* Define to 1 if the system has the type `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. */
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. */
199 /* Define to the sub-directory in which libtool stores uninstalled libraries.
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 */
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. */
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. */