~ubuntu-branches/ubuntu/trusty/libsoxr/trusty

« back to all changes in this revision

Viewing changes to soxr-config.h.in

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2013-01-19 13:59:15 UTC
  • Revision ID: package-import@ubuntu.com-20130119135915-ig85015j5zwtf0rp
Tags: upstream-0.1.0
ImportĀ upstreamĀ versionĀ 0.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* SoX Resampler Library      Copyright (c) 2007-13 robs@users.sourceforge.net
 
2
 * Licence for this file: LGPL v2.1                  See LICENCE for details. */
 
3
 
 
4
#if !defined soxr_config_included
 
5
#define soxr_config_included
 
6
 
 
7
#define SOXR_VERSION         "@PROJECT_VERSION@"
 
8
#define HAVE_SINGLE_PRECISION @HAVE_SINGLE_PRECISION@
 
9
#define HAVE_DOUBLE_PRECISION @HAVE_DOUBLE_PRECISION@
 
10
#define HAVE_AVFFT            @HAVE_AVFFT@
 
11
#define HAVE_SIMD             @HAVE_SIMD@
 
12
#define HAVE_FENV_H           @HAVE_FENV_H@
 
13
#define HAVE_LRINT            @HAVE_LRINT@
 
14
#define WORDS_BIGENDIAN       @WORDS_BIGENDIAN@
 
15
 
 
16
#include <limits.h>
 
17
 
 
18
#undef bool
 
19
#undef false
 
20
#undef true
 
21
#define bool int
 
22
#define false 0
 
23
#define true 1
 
24
 
 
25
#undef int16_t
 
26
#undef int32_t
 
27
#undef int64_t
 
28
#undef uint32_t
 
29
#undef uint64_t
 
30
#define int16_t short
 
31
#if LONG_MAX > 2147483647L
 
32
  #define int32_t int
 
33
  #define int64_t long
 
34
#elif LONG_MAX < 2147483647L
 
35
#error this library requires that 'long int' has at least 32-bits
 
36
#else
 
37
  #define int32_t long
 
38
  #if defined _MSC_VER
 
39
    #define int64_t __int64
 
40
  #else
 
41
    #define int64_t long long
 
42
  #endif
 
43
#endif
 
44
#define uint32_t unsigned int32_t
 
45
#define uint64_t unsigned int64_t
 
46
 
 
47
#endif