From: Stefan Csomor Date: Sat, 27 Mar 2004 05:39:00 +0000 (+0000) Subject: workaround to get things compiling properly under CW 8.3 Mach-O X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fe3edc0e3f33c79ee80cb927c27b28c168877e92?ds=inline 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 --- diff --git a/src/unix/gsocket.c b/src/unix/gsocket.c index 1b8f5b0e52..16eae12743 100644 --- a/src/unix/gsocket.c +++ b/src/unix/gsocket.c @@ -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;