mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
fix inline fun on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4855 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
90d2d377e2
commit
225a063057
@ -38,8 +38,9 @@
|
|||||||
\{
|
\{
|
||||||
*/
|
*/
|
||||||
/* OMG */
|
/* OMG */
|
||||||
#ifdef WIN32
|
#ifdef _MSC_VER
|
||||||
#define __LDL_FUNC__ __FUNCTION__
|
#define __LDL_FUNC__ __FUNCTION__
|
||||||
|
#define inline __inline
|
||||||
#else
|
#else
|
||||||
#define __LDL_FUNC__ (const char *)__func__
|
#define __LDL_FUNC__ (const char *)__func__
|
||||||
#endif
|
#endif
|
||||||
@ -203,7 +204,7 @@ static inline int ldl_jid_domcmp(char *id_a, char *id_b)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (id_a_host && id_b_host) {
|
if (id_a_host && id_b_host) {
|
||||||
int id_a_len = 0, id_b_len = 0, len = 0;
|
size_t id_a_len = 0, id_b_len = 0, len = 0;
|
||||||
|
|
||||||
if ((id_a_r = strchr(id_a_host, '/'))) {
|
if ((id_a_r = strchr(id_a_host, '/'))) {
|
||||||
id_a_len = id_a_r - id_a_host;
|
id_a_len = id_a_r - id_a_host;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user