config.h 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. /*
  2. ** Copyright (C) 2002-2004 Erik de Castro Lopo <erikd@mega-nerd.com>
  3. **
  4. ** This program is free software; you can redistribute it and/or modify
  5. ** it under the terms of the GNU Lesser General Public License as published by
  6. ** the Free Software Foundation; either version 2.1 of the License, or
  7. ** (at your option) any later version.
  8. **
  9. ** This program is distributed in the hope that it will be useful,
  10. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ** GNU Lesser General Public License for more details.
  13. **
  14. ** You should have received a copy of the GNU Lesser General Public License
  15. ** along with this program; if not, write to the Free Software
  16. ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17. */
  18. /*
  19. ** This is the Win32 version of the file config.h which is autogenerated
  20. ** on Unix systems.
  21. */
  22. #pragma warning (disable : 4244)
  23. #pragma warning (disable : 4761)
  24. #include <malloc.h>
  25. /* Set to 1 if the compile is GNU GCC. */
  26. /* #undef COMPILER_IS_GCC */
  27. /* Target processor clips on negative float to int conversion. */
  28. #define CPU_CLIPS_NEGATIVE 1
  29. /* Target processor clips on positive float to int conversion. */
  30. #define CPU_CLIPS_POSITIVE 0
  31. /* Target processor is big endian. */
  32. #define CPU_IS_BIG_ENDIAN 0
  33. /* Target processor is little endian. */
  34. #define CPU_IS_LITTLE_ENDIAN 1
  35. /* Set to 1 to enable experimental code. */
  36. #define ENABLE_EXPERIMENTAL_CODE 0
  37. /* Major version of GCC or 3 otherwise. */
  38. /* #undef GCC_MAJOR_VERSION */
  39. /* Define to 1 if you have the <alsa/asoundlib.h> header file. */
  40. /* #undef HAVE_ALSA_ASOUNDLIB_H */
  41. /* Define to 1 if you have the <byteswap.h> header file. */
  42. /* #undef HAVE_BYTESWAP_H */
  43. /* Define to 1 if you have the `calloc' function. */
  44. #define HAVE_CALLOC 1
  45. /* Define to 1 if you have the `ceil' function. */
  46. #define HAVE_CEIL 1
  47. /* Set to 1 if S_IRGRP is defined. */
  48. #define HAVE_DECL_S_IRGRP 0
  49. /* Define to 1 if you have the <dlfcn.h> header file. */
  50. /* #undef HAVE_DLFCN_H */
  51. /* Define to 1 if you have the <endian.h> header file. */
  52. /* #undef HAVE_ENDIAN_H */
  53. /* Define to 1 if you have the `fdatasync' function. */
  54. /* #undef HAVE_FDATASYNC */
  55. /* Define to 1 if you have libflac 1.1.1 */
  56. /* #undef HAVE_FLAC_1_1_1 1 */
  57. /* Define to 1 if you have the <FLAC/all.h> header file. */
  58. /* #undef HAVE_FLAC_ALL_H 1 */
  59. /* Set to 1 if the compile supports the struct hack. */
  60. #define HAVE_FLEXIBLE_ARRAY 1
  61. /* Define to 1 if you have the `floor' function. */
  62. #define HAVE_FLOOR 1
  63. /* Define to 1 if you have the `fmod' function. */
  64. #define HAVE_FMOD 1
  65. /* Define to 1 if you have the `free' function. */
  66. #define HAVE_FREE 1
  67. /* Define to 1 if you have the `fstat' function. */
  68. #define HAVE_FSTAT 1
  69. /* Define to 1 if you have the `fsync' function. */
  70. /* #undef HAVE_FSYNC */
  71. /* Define to 1 if you have the `ftruncate' function. */
  72. /* #undef HAVE_FTRUNCATE */
  73. /* Define to 1 if you have the `getpagesize' function. */
  74. #define HAVE_GETPAGESIZE 1
  75. /* Define to 1 if you have the `gmtime' function. */
  76. #define HAVE_GMTIME 1
  77. /* Define to 1 if you have the `gmtime_r' function. */
  78. /* #undef HAVE_GMTIME_R */
  79. /* Define to 1 if you have the <inttypes.h> header file. */
  80. /* #define HAVE_INTTYPES_H */
  81. /* Define to 1 if you have the `m' library (-lm). */
  82. #define HAVE_LIBM 1
  83. /* Define if you have C99's lrint function. */
  84. /* #undef HAVE_LRINT */
  85. /* Define if you have C99's lrintf function. */
  86. /* #undef HAVE_LRINTF */
  87. /* Define to 1 if you have the `lseek' function. */
  88. #define HAVE_LSEEK 1
  89. /* Define to 1 if you have the `malloc' function. */
  90. #define HAVE_MALLOC 1
  91. /* Define to 1 if you have the <memory.h> header file. */
  92. #define HAVE_MEMORY_H 1
  93. /* Define to 1 if you have the `mmap' function. */
  94. /* #undef HAVE_MMAP */
  95. /* Define to 1 if you have the `open' function. */
  96. #define HAVE_OPEN 1
  97. /* Define to 1 if you have the `pread' function. */
  98. /* #undef HAVE_PREAD */
  99. /* Define to 1 if you have the `pwrite' function. */
  100. /* #undef HAVE_PWRITE */
  101. /* Define to 1 if you have the `read' function. */
  102. #define HAVE_READ 1
  103. /* Define to 1 if you have the `realloc' function. */
  104. #define HAVE_REALLOC 1
  105. /* Define to 1 if you have the `snprintf' function. */
  106. #define HAVE_SNPRINTF 1
  107. /* Set to 1 if you have libsqlite3. */
  108. /* #undef HAVE_SQLITE3 */
  109. /* Define to 1 if the system has the type `ssize_t'. */
  110. /* #undef HAVE_SSIZE_T */
  111. /* Define to 1 if you have the <stdint.h> header file. */
  112. /* #undef HAVE_STDINT_H */
  113. /* Define to 1 if you have the <stdlib.h> header file. */
  114. #define HAVE_STDLIB_H 1
  115. /* Define to 1 if you have the <strings.h> header file. */
  116. #define HAVE_STRINGS_H 1
  117. /* Define to 1 if you have the <string.h> header file. */
  118. #define HAVE_STRING_H 1
  119. /* Define to 1 if you have the <sys/stat.h> header file. */
  120. #define HAVE_SYS_STAT_H 1
  121. /* Define to 1 if you have the <sys/types.h> header file. */
  122. #define HAVE_SYS_TYPES_H 1
  123. /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
  124. /* #undef HAVE_SYS_WAIT_H */
  125. /* Define to 1 if you have the <unistd.h> header file. */
  126. /* #undef HAVE_UNISTD_H */
  127. /* Define to 1 if you have the `vsnprintf' function. */
  128. #define HAVE_VSNPRINTF 1
  129. /* Define to 1 if you have the `write' function. */
  130. #define HAVE_WRITE 1
  131. /* Set to 1 if compiling for MacOSX */
  132. #define OS_IS_MACOSX 0
  133. /* Set to 1 if compiling for Win32 */
  134. #define OS_IS_WIN32 1
  135. /* Name of package */
  136. #define PACKAGE "libsndfile"
  137. /* Define to the address where bug reports for this package should be sent. */
  138. #define PACKAGE_BUGREPORT "erikd@mega-nerd.com"
  139. /* Define to the full name of this package. */
  140. #define PACKAGE_NAME "libsndfile"
  141. /* Define to the full name and version of this package. */
  142. #define PACKAGE_STRING "libsndfile 1.0.26pre5"
  143. /* Define to the one symbol short name of this package. */
  144. #define PACKAGE_TARNAME "libsndfile"
  145. /* Define to the version of this package. */
  146. #define PACKAGE_VERSION "1.0.26pre5"
  147. /* Set to maximum allowed value of sf_count_t type. */
  148. //#define SF_COUNT_MAX 0x7FFFFFFFFFFFFFFFi64
  149. /* The size of a `double', as computed by sizeof. */
  150. #define SIZEOF_DOUBLE 8
  151. /* The size of a `float', as computed by sizeof. */
  152. #define SIZEOF_FLOAT 4
  153. /* The size of a `int', as computed by sizeof. */
  154. #define SIZEOF_INT 4
  155. /* The size of a `int64_t', as computed by sizeof. */
  156. #define SIZEOF_INT64_T 0
  157. /* The size of a `loff_t', as computed by sizeof. */
  158. #define SIZEOF_LOFF_T 0
  159. /* The size of a `long', as computed by sizeof. */
  160. #define SIZEOF_LONG 4
  161. /* The size of a `long long', as computed by sizeof. */
  162. #define SIZEOF_LONG_LONG 0
  163. /* The size of a `off64_t', as computed by sizeof. */
  164. /* #undef SIZEOF_OFF64_T */
  165. /* The size of a `off_t', as computed by sizeof. */
  166. #define SIZEOF_OFF_T 4
  167. /* Set to sizeof (long) if unknown. */
  168. #define SIZEOF_SF_COUNT_T 8
  169. /* The size of a `short', as computed by sizeof. */
  170. #define SIZEOF_SHORT 2
  171. /* The size of a `size_t', as computed by sizeof. */
  172. #define SIZEOF_SIZE_T 4
  173. /* The size of a `ssize_t', as computed by sizeof. */
  174. #define SIZEOF_SSIZE_T 4
  175. /* The size of a `void*', as computed by sizeof. */
  176. #define SIZEOF_VOIDP 4
  177. /* Define to 1 if you have the ANSI C header files. */
  178. #define STDC_HEADERS 1
  179. /* Set to long if unknown. */
  180. #define TYPEOF_SF_COUNT_T loff_t
  181. /* Set to 1 to use the native windows API */
  182. #define USE_WINDOWS_API 1
  183. /* Version number of package */
  184. #define VERSION "1.0.18"
  185. #define HAVE_STDINT_H 1
  186. /* Number of bits in a file offset, on hosts where this is settable. */
  187. /* #undef _FILE_OFFSET_BITS */
  188. /* Define to make fseeko etc. visible, on some hosts. */
  189. /* #undef _LARGEFILE_SOURCE */
  190. /* Define for large files, on AIX-style hosts. */
  191. /* #undef _LARGE_FILES */
  192. #include <stddef.h>
  193. typedef __int32 int32_t;
  194. typedef intptr_t ssize_t;
  195. typedef unsigned __int16 uint16_t;
  196. typedef unsigned __int32 uint32_t;
  197. #define PRId64 "I64d"
  198. #define __func__ __FUNCTION__
  199. #define snprintf _snprintf
  200. #include <float_cast.h>