File: soxr-config.h.in

package info (click to toggle)
libsoxr 0.1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 728 kB
  • sloc: ansic: 6,850; sh: 241; cpp: 40; makefile: 18
file content (46 lines) | stat: -rw-r--r-- 1,137 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* SoX Resampler Library      Copyright (c) 2007-13 robs@users.sourceforge.net
 * Licence for this file: LGPL v2.1                  See LICENCE for details. */

#if !defined soxr_config_included
#define soxr_config_included

#define HAVE_SINGLE_PRECISION @HAVE_SINGLE_PRECISION@
#define HAVE_DOUBLE_PRECISION @HAVE_DOUBLE_PRECISION@
#define HAVE_AVFFT            @HAVE_AVFFT@
#define HAVE_SIMD             @HAVE_SIMD@
#define HAVE_FENV_H           @HAVE_FENV_H@
#define HAVE_LRINT            @HAVE_LRINT@
#define WORDS_BIGENDIAN       @WORDS_BIGENDIAN@

#include <limits.h>

#undef bool
#undef false
#undef true
#define bool int
#define false 0
#define true 1

#undef int16_t
#undef int32_t
#undef int64_t
#undef uint32_t
#undef uint64_t
#define int16_t short
#if LONG_MAX > 2147483647L
  #define int32_t int
  #define int64_t long
#elif LONG_MAX < 2147483647L
#error this library requires that 'long int' has at least 32-bits
#else
  #define int32_t long
  #if defined _MSC_VER
    #define int64_t __int64
  #else
    #define int64_t long long
  #endif
#endif
#define uint32_t unsigned int32_t
#define uint64_t unsigned int64_t

#endif