]>
iEval git - audio-libsamplerate.git/blob - libsamplerate/Win32/config.h
2 ** Copyright (c) 2002-2016, Erik de Castro Lopo <erikd@mega-nerd.com>
3 ** All rights reserved.
5 ** This code is released under 2-clause BSD license. Please see the
6 ** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
10 ** This is the Win32 specific config.h header file.
12 ** On Unix (including MacOSX), this header file is automatically generated
13 ** during the configure process while on Win32 this has to be hand edited
14 ** to keep it up to date.
16 ** This is also a good file to add Win32 specific things.
20 ** MSVC++ assumes that all floating point constants without a trailing
21 ** letter 'f' are double precision.
23 ** If this assumption is incorrect and one of these floating point constants
24 ** is assigned to a float variable MSVC++ generates a warning.
26 ** Since there are currently about 25000 of these warnings generated in
27 ** src/src_sinc.c this slows down compile times considerably. The
28 ** following #pragma disables the warning.
31 #pragma warning(disable: 4305)
33 /*----------------------------------------------------------------------------
34 ** Normal #defines follow.
37 /* Set to 1 if the compile is GNU GCC. */
38 #define COMPILER_IS_GCC 0
40 /* Target processor clips on negative float to int conversion. */
41 #define CPU_CLIPS_NEGATIVE 0
43 /* Target processor clips on positive float to int conversion. */
44 #define CPU_CLIPS_POSITIVE 0
46 /* Target processor is big endian. */
47 #define CPU_IS_BIG_ENDIAN 0
49 /* Target processor is little endian. */
50 #define CPU_IS_LITTLE_ENDIAN 1
52 /* Set to 1 to enable debugging. */
53 #define ENABLE_DEBUG 0
55 /* Major version of GCC or 3 otherwise. */
56 /* #undef GCC_MAJOR_VERSION */
58 /* Define to 1 if you have the `alarm' function. */
59 /* #undef HAVE_ALARM */
61 /* Define to 1 if you have the `calloc' function. */
64 /* Define to 1 if you have the `ceil' function. */
67 /* Define to 1 if you have the <dlfcn.h> header file. */
68 /* #undef HAVE_DLFCN_H */
70 /* Set to 1 if you have libfftw3. */
71 /* #undef HAVE_FFTW3 */
73 /* Define to 1 if you have the `floor' function. */
76 /* Define to 1 if you have the `fmod' function. */
79 /* Define to 1 if you have the `free' function. */
82 /* Define to 1 if you have the <inttypes.h> header file. */
83 /* #undef HAVE_INTTYPES_H */
85 /* Define to 1 if you have the `m' library (-lm). */
86 /* #undef HAVE_LIBM */
88 /* Define if you have C99's lrint function. */
89 /* #undef HAVE_LRINT */
91 /* Define if you have C99's lrintf function. */
92 /* #undef HAVE_LRINTF */
94 /* Define to 1 if you have the `malloc' function. */
97 /* Define to 1 if you have the `memcpy' function. */
100 /* Define to 1 if you have the `memmove' function. */
101 #define HAVE_MEMMOVE 1
103 /* Define to 1 if you have the <memory.h> header file. */
104 #define HAVE_MEMORY_H 1
106 /* Define if you have signal SIGALRM. */
107 /* #undef HAVE_SIGALRM */
109 /* Define to 1 if you have the `signal' function. */
110 /* #undef HAVE_SIGNAL */
112 /* Set to 1 if you have libsndfile. */
113 #define HAVE_SNDFILE 1
115 /* Define to 1 if you have the <stdint.h> header file. */
116 /* #undef HAVE_STDINT_H */
118 /* Define to 1 if you have the <stdlib.h> header file. */
119 #define HAVE_STDLIB_H 1
121 /* Define to 1 if you have the <strings.h> header file. */
122 #define HAVE_STRINGS_H 1
124 /* Define to 1 if you have the <string.h> header file. */
125 #define HAVE_STRING_H 1
127 /* Define to 1 if you have the <sys/stat.h> header file. */
128 #define HAVE_SYS_STAT_H 1
130 /* Define to 1 if you have the <sys/times.h> header file. */
131 /* #undef HAVE_SYS_TIMES_H */
133 /* Define to 1 if you have the <sys/types.h> header file. */
134 #define HAVE_SYS_TYPES_H 1
136 /* Define to 1 if you have the <unistd.h> header file. */
137 #define HAVE_UNISTD_H 1
139 /* Define to the sub-directory in which libtool stores uninstalled libraries.
141 #define LT_OBJDIR ".libs/"
143 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
144 /* #undef NO_MINUS_C_MINUS_O */
146 /* Set to 1 if compiling for Win32 */
147 #define OS_IS_WIN32 1
149 /* Name of package */
150 #define PACKAGE "libsamplerate"
152 /* Define to the address where bug reports for this package should be sent. */
153 #define PACKAGE_BUGREPORT "erikd@mega-nerd.com"
155 /* Define to the full name of this package. */
156 #define PACKAGE_NAME "libsamplerate"
158 /* Define to the full name and version of this package. */
159 #define PACKAGE_STRING "libsamplerate 0.1.8"
161 /* Define to the one symbol short name of this package. */
162 #define PACKAGE_TARNAME "libsamplerate"
164 /* Define to the home page for this package. */
165 #define PACKAGE_URL "http://www.mega-nerd.com/libsamplerate/"
167 /* Define to the version of this package. */
168 #define PACKAGE_VERSION "0.1.8"
170 /* The size of `double', as computed by sizeof. */
171 #define SIZEOF_DOUBLE 8
173 /* The size of `float', as computed by sizeof. */
174 #define SIZEOF_FLOAT 4
176 /* The size of `int', as computed by sizeof. */
179 /* The size of `long', as computed by sizeof. */
180 #define SIZEOF_LONG 4
182 /* Define to 1 if you have the ANSI C header files. */
183 #define STDC_HEADERS 1
185 /* Version number of package */
186 #define VERSION "0.1.8"
190 /* Extra Win32 hacks. */
193 ** Microsoft's compiler still does not support the 1999 ISO C Standard
194 ** which includes 'inline'.
197 #define inline __inline
This page took 0.04818 seconds and 4 git commands to generate.