Export swtich_inet_ntop so modules can use it

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13738 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene committed 2009-06-10 00:04:29 +00:00
1 parent a7a726a887
commit 374997f2c1
2 files changed
+7 -4

No files matched your search

+6
View File
@@ -577,6 +577,12 @@ int switch_inet_pton(int af, const char *src, void *dst);
#endif
#endif
#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);
SWITCH_END_EXTERN_C
#endif
/* For Emacs: