Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6.10, 1.6.11
-
Fix Version/s: 1.6.10
-
Component/s: mod_avmd
-
Labels:None
-
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).
#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).