annotate src/libsamplerate-0.1.9/Win32/config.h @ 153:84bc3a5ec321

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