From: Mathieu Rene Date: Wed, 10 Jun 2009 00:07:10 +0000 (+0000) Subject: doh X-Git-Tag: v1.0.4~517 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=965023a8eb181e68bd29c295b6e4a9e33c865f49;p=thirdparty%2Ffreeswitch.git doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13739 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index 6e6d7565fe..6dfe5d0055 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -580,8 +580,8 @@ int switch_inet_pton(int af, const char *src, void *dst); #ifndef _MSC_VER #define switch_inet_ntop inet_ntop #else - SWITCH_DECLARE(const char *) switch_inet_ntop(int af, void const *src, char *dst, size_t size); +#endif SWITCH_END_EXTERN_C #endif diff --git a/src/switch_utils.c b/src/switch_utils.c index cd2a6159a1..0f21c10802 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -1080,6 +1080,7 @@ SWITCH_DECLARE(const char *) switch_priority_name(switch_priority_t priority) static char RFC2833_CHARS[] = "0123456789*#ABCDF"; +#ifdef _MSC_VER /* Copyright (c) 1996 by Internet Software Consortium. * * Permission to use, copy, modify, and distribute this software for any