comparison src/libsamplerate-0.1.8/Win32/config.h @ 0:c7265573341e

Import initial set of sources
author Chris Cannam
date Mon, 18 Mar 2013 14:12:14 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c7265573341e
1 /*
2 ** Copyright (C) 2002-2011 Erik de Castro Lopo <erikd@mega-nerd.com>
3 **
4 ** This program is free software; you can redistribute it and/or modify
5 ** it under the terms of the GNU General Public License as published by
6 ** the Free Software Foundation; either version 2 of the License, or
7 ** (at your option) any later version.
8 **
9 ** This program is distributed in the hope that it will be useful,
10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ** GNU General Public License for more details.
13 **
14 ** You should have received a copy of the GNU General Public License
15 ** along with this program; if not, write to the Free Software
16 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
17 */
18
19 /*
20 ** This is the Win32 specific config.h header file.
21 **
22 ** On Unix (including MacOSX), this header file is automatically generated
23 ** during the configure process while on Win32 this has to be hand edited
24 ** to keep it up to date.
25 **
26 ** This is also a good file to add Win32 specific things.
27 */
28
29 /*
30 ** MSVC++ assumes that all floating point constants without a trailing
31 ** letter 'f' are double precision.
32 **
33 ** If this assumption is incorrect and one of these floating point constants
34 ** is assigned to a float variable MSVC++ generates a warning.
35 **
36 ** Since there are currently about 25000 of these warnings generated in
37 ** src/src_sinc.c this slows down compile times considerably. The
38 ** following #pragma disables the warning.
39 */
40
41 #pragma warning(disable: 4305)
42
43 /*----------------------------------------------------------------------------
44 ** Normal #defines follow.
45 */
46
47 /* Set to 1 if the compile is GNU GCC. */
48 #define COMPILER_IS_GCC 0
49
50 /* Target processor clips on negative float to int conversion. */
51 #define CPU_CLIPS_NEGATIVE 0
52
53 /* Target processor clips on positive float to int conversion. */
54 #define CPU_CLIPS_POSITIVE 0
55
56 /* Target processor is big endian. */
57 #define CPU_IS_BIG_ENDIAN 0
58
59 /* Target processor is little endian. */
60 #define CPU_IS_LITTLE_ENDIAN 1
61
62 /* Set to 1 to enable debugging. */
63 #define ENABLE_DEBUG 0
64
65 /* Major version of GCC or 3 otherwise. */
66 /* #undef GCC_MAJOR_VERSION */
67
68 /* Define to 1 if you have the `alarm' function. */
69 /* #undef HAVE_ALARM */
70
71 /* Define to 1 if you have the `calloc' function. */
72 #define HAVE_CALLOC 1
73
74 /* Define to 1 if you have the `ceil' function. */
75 #define HAVE_CEIL 1
76
77 /* Define to 1 if you have the <dlfcn.h> header file. */
78 /* #undef HAVE_DLFCN_H */
79
80 /* Set to 1 if you have libfftw3. */
81 /* #undef HAVE_FFTW3 */
82
83 /* Define to 1 if you have the `floor' function. */
84 #define HAVE_FLOOR 1
85
86 /* Define to 1 if you have the `fmod' function. */
87 #define HAVE_FMOD 1
88
89 /* Define to 1 if you have the `free' function. */
90 #define HAVE_FREE 1
91
92 /* Define to 1 if you have the <inttypes.h> header file. */
93 /* #undef HAVE_INTTYPES_H */
94
95 /* Define to 1 if you have the `m' library (-lm). */
96 /* #undef HAVE_LIBM */
97
98 /* Define if you have C99's lrint function. */
99 /* #undef HAVE_LRINT */
100
101 /* Define if you have C99's lrintf function. */
102 /* #undef HAVE_LRINTF */
103
104 /* Define to 1 if you have the `malloc' function. */
105 #define HAVE_MALLOC 1
106
107 /* Define to 1 if you have the `memcpy' function. */
108 #define HAVE_MEMCPY 1
109
110 /* Define to 1 if you have the `memmove' function. */
111 #define HAVE_MEMMOVE 1
112
113 /* Define to 1 if you have the <memory.h> header file. */
114 #define HAVE_MEMORY_H 1
115
116 /* Define if you have signal SIGALRM. */
117 /* #undef HAVE_SIGALRM */
118
119 /* Define to 1 if you have the `signal' function. */
120 /* #undef HAVE_SIGNAL */
121
122 /* Set to 1 if you have libsndfile. */
123 #define HAVE_SNDFILE 1
124
125 /* Define to 1 if you have the <stdint.h> header file. */
126 /* #undef HAVE_STDINT_H */
127
128 /* Define to 1 if you have the <stdlib.h> header file. */
129 #define HAVE_STDLIB_H 1
130
131 /* Define to 1 if you have the <strings.h> header file. */
132 #define HAVE_STRINGS_H 1
133
134 /* Define to 1 if you have the <string.h> header file. */
135 #define HAVE_STRING_H 1
136
137 /* Define to 1 if you have the <sys/stat.h> header file. */
138 #define HAVE_SYS_STAT_H 1
139
140 /* Define to 1 if you have the <sys/times.h> header file. */
141 /* #undef HAVE_SYS_TIMES_H */
142
143 /* Define to 1 if you have the <sys/types.h> header file. */
144 #define HAVE_SYS_TYPES_H 1
145
146 /* Define to 1 if you have the <unistd.h> header file. */
147 #define HAVE_UNISTD_H 1
148
149 /* Define to the sub-directory in which libtool stores uninstalled libraries.
150 */
151 #define LT_OBJDIR ".libs/"
152
153 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
154 /* #undef NO_MINUS_C_MINUS_O */
155
156 /* Set to 1 if compiling for Win32 */
157 #define OS_IS_WIN32 1
158
159 /* Name of package */
160 #define PACKAGE "libsamplerate"
161
162 /* Define to the address where bug reports for this package should be sent. */
163 #define PACKAGE_BUGREPORT "erikd@mega-nerd.com"
164
165 /* Define to the full name of this package. */
166 #define PACKAGE_NAME "libsamplerate"
167
168 /* Define to the full name and version of this package. */
169 #define PACKAGE_STRING "libsamplerate 0.1.8"
170
171 /* Define to the one symbol short name of this package. */
172 #define PACKAGE_TARNAME "libsamplerate"
173
174 /* Define to the home page for this package. */
175 #define PACKAGE_URL "http://www.mega-nerd.com/libsamplerate/"
176
177 /* Define to the version of this package. */
178 #define PACKAGE_VERSION "0.1.8"
179
180 /* The size of `double', as computed by sizeof. */
181 #define SIZEOF_DOUBLE 8
182
183 /* The size of `float', as computed by sizeof. */
184 #define SIZEOF_FLOAT 4
185
186 /* The size of `int', as computed by sizeof. */
187 #define SIZEOF_INT 4
188
189 /* The size of `long', as computed by sizeof. */
190 #define SIZEOF_LONG 4
191
192 /* Define to 1 if you have the ANSI C header files. */
193 #define STDC_HEADERS 1
194
195 /* Version number of package */
196 #define VERSION "0.1.8"
197
198
199
200 /* Extra Win32 hacks. */
201
202 /*
203 ** Microsoft's compiler still does not support the 1999 ISO C Standard
204 ** which includes 'inline'.
205 */
206
207 #define inline __inline