Merge pull request #1110 in FS/freeswitch from ~SEBASTIAN/freeswitch:bugfix/FS-9840-fix-some-warnings-V2 to master
* commit '8c94e6f57fd9adee5e6a12535811fff8e4d9ae46': FS-9840 mod_avmd: Fix implicit declaration warning FS-9840 sofia-sip: fix implicit declaration warning FS-9840 mod-verto: fix implicit declaration warning FS-9840 mod_sofia: fix redefine warning
This commit is contained in:
commit
6e2764776f
|
@ -218,7 +218,7 @@ fi
|
|||
AC_C_CONST
|
||||
AC_C_INLINE
|
||||
AC_C_INLINE_DEFINE
|
||||
AC_C_BIGENDIAN(AC_DEFINE([__BYTE_ORDER],__BIG_ENDIAN,[Big Endian]),AC_DEFINE([__BYTE_ORDER],__LITTLE_ENDIAN,[Little Endian]))
|
||||
AC_C_BIGENDIAN(AC_DEFINE([SWITCH_BYTE_ORDER],__BIG_ENDIAN,[Big Endian]),AC_DEFINE([SWITCH_BYTE_ORDER],__LITTLE_ENDIAN,[Little Endian]))
|
||||
|
||||
AC_C_VAR_FUNC
|
||||
AC_C_MACRO_FUNCTION
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || defined(__GLIBC__)
|
||||
#include <byteswap.h>
|
||||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#define ms_sleep(x) usleep( x * 1000);
|
||||
#else
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#define ISINF(x) (isinf(x))
|
||||
#else
|
||||
int __isnan(double);
|
||||
int __isinf(double);
|
||||
#define ISNAN(x) (__isnan(x))
|
||||
#define ISINF(x) (__isinf(x))
|
||||
#endif
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || defined(__GLIBC__)
|
||||
#include <byteswap.h>
|
||||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#define ms_sleep(x) usleep( x * 1000);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue