X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6db2e91078a87e59ee7f0328a08802e813dabe9..ef0898052549fc7d1c71b1165dafef42c9735cdf:/src/unix/gsocket.c?ds=sidebyside 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;