From bf09939811438c9fc129692db07ed8a8286f1aac Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Tue, 7 Dec 2010 10:37:07 +0100 Subject: [PATCH] Fix macro conflict. --- include/ortp/stun_udp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ortp/stun_udp.h b/include/ortp/stun_udp.h index e510a2e..39a8e53 100644 --- a/include/ortp/stun_udp.h +++ b/include/ortp/stun_udp.h @@ -94,8 +94,10 @@ typedef LONGLONG Int64; #else typedef int Socket; +#ifndef INVALID_SOCKET #define INVALID_SOCKET -1 #define SOCKET_ERROR -1 +#endif #define closesocket(fd) close(fd) -- GitLab