annotate src/libsamplerate-0.1.8/Win32/config.h @ 85:545efbb81310

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