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:
Stefan Csomor
2004-03-27 05:39:00 +00:00
parent 0047cda214
commit fe3edc0e3f

View File

@@ -1616,8 +1616,10 @@ GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
{
#else
/* Use gethostbyname by default */
#ifndef __WXMAC__
int val = 1; /* VA doesn't like constants in conditional expressions */
if (val)
#endif
{
#endif
struct in_addr *array_addr;