From: Michael Jerris Date: Thu, 29 Jan 2009 04:55:54 +0000 (+0000) Subject: add src/msvc/config.h X-Git-Tag: v1.0.3~524 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deedf9fd34caf0beadfdbdaf6ed772ec4cae3db2;p=thirdparty%2Ffreeswitch.git add src/msvc/config.h git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11551 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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