diff --git a/libs/spandsp/src/Makefile.am b/libs/spandsp/src/Makefile.am index 09eb782396..f635fc3b99 100644 --- a/libs/spandsp/src/Makefile.am +++ b/libs/spandsp/src/Makefile.am @@ -38,6 +38,7 @@ EXTRA_DIST = floating_fudge.h \ msvc/msvcproj.foot \ msvc/vc8proj.head \ msvc/vc8proj.foot \ + msvc/config.h \ spandsp/private/README INCLUDES = -I$(top_builddir) diff --git a/libs/spandsp/src/msvc/config.h b/libs/spandsp/src/msvc/config.h new file mode 100644 index 0000000000..1c1e29f9ee --- /dev/null +++ b/libs/spandsp/src/msvc/config.h @@ -0,0 +1,42 @@ +/* + * SpanDSP - a series of DSP components for telephony + * + * inttypes.h - a fudge for MSVC, which lacks this header + * + * Written by Steve Underwood + * + * Copyright (C) 2006 Michael Jerris + * + * + * This file is released in the public domain. + * + */ + +#if !defined(_SPANDSP_CONFIG_H_) +#define _SPANDSP_CONFIG_H_ + +#define HAVE_SINF +#define HAVE_COSF +#define HAVE_TANF +#define HAVE_ASINF +#define HAVE_ACOSF +#define HAVE_ATANF +#define HAVE_ATAN2F +#define HAVE_CEILF +#define HAVE_FLOORF +#define HAVE_POWF +#define HAVE_EXPF +#define HAVE_LOGF +#define HAVE_LOG10F +#define HAVE_MATH_H +#define HAVE_TGMATH_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif