]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorMathieu Rene <mrene@avgs.ca>
Wed, 10 Jun 2009 00:07:10 +0000 (00:07 +0000)
committerMathieu Rene <mrene@avgs.ca>
Wed, 10 Jun 2009 00:07:10 +0000 (00:07 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13739 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_utils.h
src/switch_utils.c

index 6e6d7565fe1dd2f18a5d78c13fb623e934c508c6..6dfe5d00550f0db265db2bedc36e3fce8cfac958 100644 (file)
@@ -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
index cd2a6159a15068dec8dd742c0e9e88687fefdee8..0f21c10802a7ddd92588e10ab0e4844c9284b26e 100644 (file)
@@ -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