Chris@0: /* Chris@0: ** Copyright (C) 2002-2011 Erik de Castro Lopo Chris@0: ** Chris@0: ** This program is free software; you can redistribute it and/or modify Chris@0: ** it under the terms of the GNU General Public License as published by Chris@0: ** the Free Software Foundation; either version 2 of the License, or Chris@0: ** (at your option) any later version. Chris@0: ** Chris@0: ** This program is distributed in the hope that it will be useful, Chris@0: ** but WITHOUT ANY WARRANTY; without even the implied warranty of Chris@0: ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Chris@0: ** GNU General Public License for more details. Chris@0: ** Chris@0: ** You should have received a copy of the GNU General Public License Chris@0: ** along with this program; if not, write to the Free Software Chris@0: ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. Chris@0: */ Chris@0: Chris@0: /* Chris@0: ** This is the Win32 specific config.h header file. Chris@0: ** Chris@0: ** On Unix (including MacOSX), this header file is automatically generated Chris@0: ** during the configure process while on Win32 this has to be hand edited Chris@0: ** to keep it up to date. Chris@0: ** Chris@0: ** This is also a good file to add Win32 specific things. Chris@0: */ Chris@0: Chris@0: /* Chris@0: ** MSVC++ assumes that all floating point constants without a trailing Chris@0: ** letter 'f' are double precision. Chris@0: ** Chris@0: ** If this assumption is incorrect and one of these floating point constants Chris@0: ** is assigned to a float variable MSVC++ generates a warning. Chris@0: ** Chris@0: ** Since there are currently about 25000 of these warnings generated in Chris@0: ** src/src_sinc.c this slows down compile times considerably. The Chris@0: ** following #pragma disables the warning. Chris@0: */ Chris@0: Chris@0: #pragma warning(disable: 4305) Chris@0: Chris@0: /*---------------------------------------------------------------------------- Chris@0: ** Normal #defines follow. Chris@0: */ Chris@0: Chris@0: /* Set to 1 if the compile is GNU GCC. */ Chris@0: #define COMPILER_IS_GCC 0 Chris@0: Chris@0: /* Target processor clips on negative float to int conversion. */ Chris@0: #define CPU_CLIPS_NEGATIVE 0 Chris@0: Chris@0: /* Target processor clips on positive float to int conversion. */ Chris@0: #define CPU_CLIPS_POSITIVE 0 Chris@0: Chris@0: /* Target processor is big endian. */ Chris@0: #define CPU_IS_BIG_ENDIAN 0 Chris@0: Chris@0: /* Target processor is little endian. */ Chris@0: #define CPU_IS_LITTLE_ENDIAN 1 Chris@0: Chris@0: /* Set to 1 to enable debugging. */ Chris@0: #define ENABLE_DEBUG 0 Chris@0: Chris@0: /* Major version of GCC or 3 otherwise. */ Chris@0: /* #undef GCC_MAJOR_VERSION */ Chris@0: Chris@0: /* Define to 1 if you have the `alarm' function. */ Chris@0: /* #undef HAVE_ALARM */ Chris@0: Chris@0: /* Define to 1 if you have the `calloc' function. */ Chris@0: #define HAVE_CALLOC 1 Chris@0: Chris@0: /* Define to 1 if you have the `ceil' function. */ Chris@0: #define HAVE_CEIL 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: /* #undef HAVE_DLFCN_H */ Chris@0: Chris@0: /* Set to 1 if you have libfftw3. */ Chris@0: /* #undef HAVE_FFTW3 */ Chris@0: Chris@0: /* Define to 1 if you have the `floor' function. */ Chris@0: #define HAVE_FLOOR 1 Chris@0: Chris@0: /* Define to 1 if you have the `fmod' function. */ Chris@0: #define HAVE_FMOD 1 Chris@0: Chris@0: /* Define to 1 if you have the `free' function. */ Chris@0: #define HAVE_FREE 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: /* #undef HAVE_INTTYPES_H */ Chris@0: Chris@0: /* Define to 1 if you have the `m' library (-lm). */ Chris@0: /* #undef HAVE_LIBM */ Chris@0: Chris@0: /* Define if you have C99's lrint function. */ Chris@0: /* #undef HAVE_LRINT */ Chris@0: Chris@0: /* Define if you have C99's lrintf function. */ Chris@0: /* #undef HAVE_LRINTF */ Chris@0: Chris@0: /* Define to 1 if you have the `malloc' function. */ Chris@0: #define HAVE_MALLOC 1 Chris@0: Chris@0: /* Define to 1 if you have the `memcpy' function. */ Chris@0: #define HAVE_MEMCPY 1 Chris@0: Chris@0: /* Define to 1 if you have the `memmove' function. */ Chris@0: #define HAVE_MEMMOVE 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: #define HAVE_MEMORY_H 1 Chris@0: Chris@0: /* Define if you have signal SIGALRM. */ Chris@0: /* #undef HAVE_SIGALRM */ Chris@0: Chris@0: /* Define to 1 if you have the `signal' function. */ Chris@0: /* #undef HAVE_SIGNAL */ Chris@0: Chris@0: /* Set to 1 if you have libsndfile. */ Chris@0: #define HAVE_SNDFILE 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: /* #undef HAVE_STDINT_H */ Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: #define HAVE_STDLIB_H 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: #define HAVE_STRINGS_H 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: #define HAVE_STRING_H 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: #define HAVE_SYS_STAT_H 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: /* #undef HAVE_SYS_TIMES_H */ Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: #define HAVE_SYS_TYPES_H 1 Chris@0: Chris@0: /* Define to 1 if you have the header file. */ Chris@0: #define HAVE_UNISTD_H 1 Chris@0: Chris@0: /* Define to the sub-directory in which libtool stores uninstalled libraries. Chris@0: */ Chris@0: #define LT_OBJDIR ".libs/" Chris@0: Chris@0: /* Define to 1 if your C compiler doesn't accept -c and -o together. */ Chris@0: /* #undef NO_MINUS_C_MINUS_O */ Chris@0: Chris@0: /* Set to 1 if compiling for Win32 */ Chris@0: #define OS_IS_WIN32 1 Chris@0: Chris@0: /* Name of package */ Chris@0: #define PACKAGE "libsamplerate" Chris@0: Chris@0: /* Define to the address where bug reports for this package should be sent. */ Chris@0: #define PACKAGE_BUGREPORT "erikd@mega-nerd.com" Chris@0: Chris@0: /* Define to the full name of this package. */ Chris@0: #define PACKAGE_NAME "libsamplerate" Chris@0: Chris@0: /* Define to the full name and version of this package. */ Chris@0: #define PACKAGE_STRING "libsamplerate 0.1.8" Chris@0: Chris@0: /* Define to the one symbol short name of this package. */ Chris@0: #define PACKAGE_TARNAME "libsamplerate" Chris@0: Chris@0: /* Define to the home page for this package. */ Chris@0: #define PACKAGE_URL "http://www.mega-nerd.com/libsamplerate/" Chris@0: Chris@0: /* Define to the version of this package. */ Chris@0: #define PACKAGE_VERSION "0.1.8" Chris@0: Chris@0: /* The size of `double', as computed by sizeof. */ Chris@0: #define SIZEOF_DOUBLE 8 Chris@0: Chris@0: /* The size of `float', as computed by sizeof. */ Chris@0: #define SIZEOF_FLOAT 4 Chris@0: Chris@0: /* The size of `int', as computed by sizeof. */ Chris@0: #define SIZEOF_INT 4 Chris@0: Chris@0: /* The size of `long', as computed by sizeof. */ Chris@0: #define SIZEOF_LONG 4 Chris@0: Chris@0: /* Define to 1 if you have the ANSI C header files. */ Chris@0: #define STDC_HEADERS 1 Chris@0: Chris@0: /* Version number of package */ Chris@0: #define VERSION "0.1.8" Chris@0: Chris@0: Chris@0: Chris@0: /* Extra Win32 hacks. */ Chris@0: Chris@0: /* Chris@0: ** Microsoft's compiler still does not support the 1999 ISO C Standard Chris@0: ** which includes 'inline'. Chris@0: */ Chris@0: Chris@0: #define inline __inline