diff options
Diffstat (limited to 'stun')
-rw-r--r-- | stun/tests/test-bind.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stun/tests/test-bind.c b/stun/tests/test-bind.c index 2cf4feb..a3d4753 100644 --- a/stun/tests/test-bind.c +++ b/stun/tests/test-bind.c @@ -50,7 +50,6 @@ #include <ws2tcpip.h> #define MSG_DONTWAIT 0 -#define MSG_NOSIGNAL 0 #define alarm(...) #define close closesocket @@ -65,6 +64,9 @@ #undef NDEBUG /* ensure assertions are built-in */ #include <assert.h> +#ifndef MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif static int listen_dgram (void) { |