annotate src/libsamplerate-0.1.8/Win32/config.h @ 83:ae30d91d2ffe

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