workaround to get things compiling properly under CW 8.3 Mach-O
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1616,8 +1616,10 @@ GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
|
|||||||
{
|
{
|
||||||
#else
|
#else
|
||||||
/* Use gethostbyname by default */
|
/* Use gethostbyname by default */
|
||||||
|
#ifndef __WXMAC__
|
||||||
int val = 1; /* VA doesn't like constants in conditional expressions */
|
int val = 1; /* VA doesn't like constants in conditional expressions */
|
||||||
if (val)
|
if (val)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
#endif
|
#endif
|
||||||
struct in_addr *array_addr;
|
struct in_addr *array_addr;
|
||||||
|
Reference in New Issue
Block a user