mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-14 11:06:36 +00:00
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_CONST
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
AC_C_INLINE_DEFINE
|
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_VAR_FUNC
|
||||||
AC_C_MACRO_FUNCTION
|
AC_C_MACRO_FUNCTION
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__linux__) || defined(__GLIBC__)
|
||||||
|
#include <byteswap.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#define ms_sleep(x) usleep( x * 1000);
|
#define ms_sleep(x) usleep( x * 1000);
|
||||||
#else
|
#else
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
#define ISINF(x) (isinf(x))
|
#define ISINF(x) (isinf(x))
|
||||||
#else
|
#else
|
||||||
int __isnan(double);
|
int __isnan(double);
|
||||||
|
int __isinf(double);
|
||||||
#define ISNAN(x) (__isnan(x))
|
#define ISNAN(x) (__isnan(x))
|
||||||
#define ISINF(x) (__isinf(x))
|
#define ISINF(x) (__isinf(x))
|
||||||
#endif
|
#endif
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__linux__) || defined(__GLIBC__)
|
||||||
|
#include <byteswap.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#define ms_sleep(x) usleep( x * 1000);
|
#define ms_sleep(x) usleep( x * 1000);
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user