git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30042
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/* undefine for OSX - its really an int */
# ifdef __DARWIN__
# undef SOCKLEN_T
/* undefine for OSX - its really an int */
# ifdef __DARWIN__
# undef SOCKLEN_T
+#if defined(__WXPM__) && defined(__EMX__)
+ se = getservbyname(port, (char*)protocol);
+#else
se = getservbyname(port, protocol);
se = getservbyname(port, protocol);
if (!se)
{
/* the cast to int suppresses compiler warnings about subscript having the
if (!se)
{
/* the cast to int suppresses compiler warnings about subscript having the