[FS-9843] [avmd] Remove not used defines Created: 13/Dec/16  Updated: 13/Dec/16  Resolved: 13/Dec/16

Status: Closed
Project: FreeSWITCH
Component/s: mod_avmd
Affects Version/s: 1.6.10, 1.6.11
Fix Version/s: 1.6.10
Security Level: public

Type: Improvement Priority: Minor
Reporter: Piotr Gregor Assignee: Piotr Gregor
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Debian, FreeBSD, Windows 7

CPU Architecture:
x86-64
Kernel:
Linux
Userland:
GNU/Linux
Distribution:
Debian
Distribution Version:
Debian 8 jessie
Compiler:
gcc
FreeSWITCH GIT Revision: FreeSWITCH version: 1.9.0+git~20161209T225321Z~6522572104~64bit (git 6522572 2016-12-09 22:53:21Z 64bit)
GIT Master Revision hash:: 6522572104a3addd9f59caefadc5f1109cb7170c
Target Version:

 Description   
Defines

#ifdef WIN32
  42 #include <float.h>
  43 #include <inttypes.h>
  44 #define ISNAN(x) (!!(_isnan(x)))
  45 #define ISINF(x) (isinf(x))
  46 #else
  47 int __isnan(double);
  48 #define ISNAN(x) (__isnan(x))
  49 #define ISINF(x) (__isinf(x))
  50 #endif

are not needed in other compilation units as they are present in mod_avmd.c main file (only Windoze needs them).

 Comments   
Comment by Piotr Gregor [ 13/Dec/16 ]
Opened PR 1108.
Generated at Tue Mar 28 18:27:24 CDT 2017 using JIRA 7.3.3#73014-sha1:d5be8da522213be2ca9ad7b043c51da6e4cc9754.