annotate src/libsamplerate-0.1.9/Win32/config.h @ 79:91c729825bca pa_catalina

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