mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
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:
1 parent
a7a726a887
commit
374997f2c1
2 files changed
+7
-4
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user