You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

198 lines
5.2KB

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