X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fclient.c;h=2e9dc65348ae27b70b64465df7bf80a9ec49db7f;hb=b3e60bf49c750f3b710342e32b8d470ec3209383;hp=d79fa78206bb2591f716aee2b97f30658d030db3;hpb=1331f027db4be1f817027d855476fe56e26f14db;p=umurmur.git diff --git a/src/client.c b/src/client.c index d79fa78..2e9dc65 100644 --- a/src/client.c +++ b/src/client.c @@ -1046,7 +1046,7 @@ static int Client_send_udp(client_t *client, uint8_t *data, int len) CryptState_encrypt(&client->cryptState, data, buf, len); -#if defined(NETBSD) || defined(FREEBSD) || defined(OPENBSD) || defined(__APPLE__) +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) sendto(udpsock, buf, len + 4, 0, (struct sockaddr *)&client->remote_udp, client->remote_tcp.ss_len); #else sendto(udpsock, buf, len + 4, 0, (struct sockaddr *)&client->remote_udp, sizeof(struct sockaddr_storage));