ReactOS  0.4.12-dev-75-g00dd17e
config.h
Go to the documentation of this file.
1 /*
2 ** Copyright (c) 2002-2016, Erik de Castro Lopo <erikd@mega-nerd.com>
3 ** All rights reserved.
4 **
5 ** This code is released under 2-clause BSD license. Please see the
6 ** file at : https://github.com/erikd/libsamplerate/blob/master/COPYING
7 */
8 
9 /*
10 ** This is the Win32 specific config.h header file.
11 **
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.
15 **
16 ** This is also a good file to add Win32 specific things.
17 */
18 
19 /*
20 ** MSVC++ assumes that all floating point constants without a trailing
21 ** letter 'f' are double precision.
22 **
23 ** If this assumption is incorrect and one of these floating point constants
24 ** is assigned to a float variable MSVC++ generates a warning.
25 **
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.
29 */
30 #ifdef _MSC_VER
31 #pragma warning(disable: 4305)
32 #endif
33 /*----------------------------------------------------------------------------
34 ** Normal #defines follow.
35 */
36 
37 /* Set to 1 if the compile is GNU GCC. */
38 #define COMPILER_IS_GCC 0
39 
40 /* Target processor clips on negative float to int conversion. */
41 #define CPU_CLIPS_NEGATIVE 0
42 
43 /* Target processor clips on positive float to int conversion. */
44 #define CPU_CLIPS_POSITIVE 0
45 
46 /* Target processor is big endian. */
47 #define CPU_IS_BIG_ENDIAN 0
48 
49 /* Target processor is little endian. */
50 #define CPU_IS_LITTLE_ENDIAN 1
51 
52 /* Set to 1 to enable debugging. */
53 #define ENABLE_DEBUG 0
54 
55 /* Major version of GCC or 3 otherwise. */
56 /* #undef GCC_MAJOR_VERSION */
57 
58 /* Define to 1 if you have the `alarm' function. */
59 /* #undef HAVE_ALARM */
60 
61 /* Define to 1 if you have the `calloc' function. */
62 #define HAVE_CALLOC 1
63 
64 /* Define to 1 if you have the `ceil' function. */
65 #define HAVE_CEIL 1
66 
67 /* Define to 1 if you have the <dlfcn.h> header file. */
68 /* #undef HAVE_DLFCN_H */
69 
70 /* Set to 1 if you have libfftw3. */
71 /* #undef HAVE_FFTW3 */
72 
73 /* Define to 1 if you have the `floor' function. */
74 #define HAVE_FLOOR 1
75 
76 /* Define to 1 if you have the `fmod' function. */
77 #define HAVE_FMOD 1
78 
79 /* Define to 1 if you have the `free' function. */
80 #define HAVE_FREE 1
81 
82 /* Define to 1 if you have the <inttypes.h> header file. */
83 /* #undef HAVE_INTTYPES_H */
84 
85 /* Define to 1 if you have the `m' library (-lm). */
86 /* #undef HAVE_LIBM */
87 
88 /* Define if you have C99's lrint function. */
89 #define HAVE_LRINT 1
90 
91 /* Define if you have C99's lrintf function. */
92 #define HAVE_LRINTF 1
93 
94 /* Define to 1 if you have the `malloc' function. */
95 #define HAVE_MALLOC 1
96 
97 /* Define to 1 if you have the `memcpy' function. */
98 #define HAVE_MEMCPY 1
99 
100 /* Define to 1 if you have the `memmove' function. */
101 #define HAVE_MEMMOVE 1
102 
103 /* Define to 1 if you have the <memory.h> header file. */
104 #define HAVE_MEMORY_H 1
105 
106 /* Define if you have signal SIGALRM. */
107 /* #undef HAVE_SIGALRM */
108 
109 /* Define to 1 if you have the `signal' function. */
110 /* #undef HAVE_SIGNAL */
111 
112 /* Set to 1 if you have libsndfile. */
113 #define HAVE_SNDFILE 1
114 
115 /* Define to 1 if you have the <stdint.h> header file. */
116 /* #undef HAVE_STDINT_H */
117 
118 /* Define to 1 if you have the <stdlib.h> header file. */
119 #define HAVE_STDLIB_H 1
120 
121 /* Define to 1 if you have the <strings.h> header file. */
122 #define HAVE_STRINGS_H 1
123 
124 /* Define to 1 if you have the <string.h> header file. */
125 #define HAVE_STRING_H 1
126 
127 /* Define to 1 if you have the <sys/stat.h> header file. */
128 #define HAVE_SYS_STAT_H 1
129 
130 /* Define to 1 if you have the <sys/times.h> header file. */
131 /* #undef HAVE_SYS_TIMES_H */
132 
133 /* Define to 1 if you have the <sys/types.h> header file. */
134 #define HAVE_SYS_TYPES_H 1
135 
136 /* Define to 1 if you have the <unistd.h> header file. */
137 #define HAVE_UNISTD_H 1
138 
139 /* Define to the sub-directory in which libtool stores uninstalled libraries.
140  */
141 #define LT_OBJDIR ".libs/"
142 
143 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
144 /* #undef NO_MINUS_C_MINUS_O */
145 
146 /* Set to 1 if compiling for Win32 */
147 #define OS_IS_WIN32 1
148 
149 /* Name of package */
150 #define PACKAGE "libsamplerate"
151 
152 /* Define to the address where bug reports for this package should be sent. */
153 #define PACKAGE_BUGREPORT "erikd@mega-nerd.com"
154 
155 /* Define to the full name of this package. */
156 #define PACKAGE_NAME "libsamplerate"
157 
158 /* Define to the full name and version of this package. */
159 #define PACKAGE_STRING "libsamplerate 0.1.8"
160 
161 /* Define to the one symbol short name of this package. */
162 #define PACKAGE_TARNAME "libsamplerate"
163 
164 /* Define to the home page for this package. */
165 #define PACKAGE_URL "http://www.mega-nerd.com/libsamplerate/"
166 
167 /* Define to the version of this package. */
168 #define PACKAGE_VERSION "0.1.8"
169 
170 /* The size of `double', as computed by sizeof. */
171 #define SIZEOF_DOUBLE 8
172 
173 /* The size of `float', as computed by sizeof. */
174 #define SIZEOF_FLOAT 4
175 
176 /* The size of `int', as computed by sizeof. */
177 #define SIZEOF_INT 4
178 
179 /* The size of `long', as computed by sizeof. */
180 #define SIZEOF_LONG 4
181 
182 /* Define to 1 if you have the ANSI C header files. */
183 #define STDC_HEADERS 1
184 
185 /* Version number of package */
186 #define VERSION "0.1.8"
187 
188 
189 
190 /* Extra Win32 hacks. */
191 
192 /*
193 ** Microsoft's compiler still does not support the 1999 ISO C Standard
194 ** which includes 'inline'.
195 */
196 
197 #define inline __inline
198 
199 /* ReactOS hacks */
200 void __cdecl __debugbreak(void);
201 unsigned long __cdecl DbgPrint(const char *Format, ...);
202 #define exit(n) __debugbreak()
203 #define printf DbgPrint
204 
205 # ifdef _MSC_VER
206 # pragma warning(disable:4244)
207 # endif /* _MSC_VER */
void __cdecl __debugbreak(void)
Definition: intrin_ppc.h:698
#define __cdecl
Definition: accygwin.h:79
unsigned long __cdecl DbgPrint(const char *Format,...)
Definition: crtsupp.c:44