Merge pull request #1108 in FS/freeswitch from ~PIOTRGREGOR/freeswitch:bugfix/FS-9843-avmd-remove-not-used-defines to master

* commit 'df80234f0713c512374352e31044a54517b5f981':
  FS-9843 [mod_avmd] Remove unused defines
This commit is contained in:
Brian West 2016-12-13 10:37:08 -06:00
commit 452257e793
4 changed files with 17 additions and 21 deletions

View File

@ -14,6 +14,11 @@
#include <stdlib.h>
#ifdef WIN32
#include <float.h>
#include <inttypes.h>
#endif
#ifndef INT16_MIN
#define INT16_MIN (-32767-1)
#endif

View File

@ -6,21 +6,19 @@
*/
#include <stdio.h>
#ifdef WIN32
#include <float.h>
#define ISNAN(x) (!!(_isnan(x)))
#define ISINF(x) (isinf(x))
#else
int __isnan(double);
#define ISNAN(x) (__isnan(x))
#define ISINF(x) (__isinf(x))
#include <float.h>
#define ISNAN(x) (!!(_isnan(x)))
#define ISINF(x) (isinf(x))
#endif
#include "avmd_buffer.h"
#include "avmd_desa2.h"
#include "avmd_options.h"
#ifdef AVMD_FAST_MATH
#include "avmd_fast_acosf.h"
#include "avmd_fast_acosf.h"
#endif

View File

@ -15,14 +15,9 @@
#include <float.h>
#define ISNAN(x) (!!(_isnan(x)))
#define ISINF(x) (isinf(x))
#else
int __isnan(double);
#define ISNAN(x) (__isnan(x))
#define ISINF(x) (__isinf(x))
#endif
#include "avmd_buffer.h"
#include "avmd_desa2_tweaked.h"
#include "avmd_options.h"
#ifndef AVMD_FAST_MATH

View File

@ -39,17 +39,15 @@
#include <float.h>
#ifdef WIN32
#include <float.h>
#include <inttypes.h>
#define ISNAN(x) (!!(_isnan(x)))
#define ISINF(x) (isinf(x))
#include <float.h>
#define ISNAN(x) (!!(_isnan(x)))
#define ISINF(x) (isinf(x))
#else
int __isnan(double);
#define ISNAN(x) (__isnan(x))
#define ISINF(x) (__isinf(x))
int __isnan(double);
#define ISNAN(x) (__isnan(x))
#define ISINF(x) (__isinf(x))
#endif
#include "avmd_buffer.h"
#include "avmd_desa2_tweaked.h"
#include "avmd_sma_buf.h"