Commit 1eabc8a0106481d64eae9958fe058c51c390de34

Authored by Stéphane Raimbault
1 parent d39fc1f8

Fix MinGW make error 'MSG_NOSIGNAL' undeclared (closes #175)

Thank you Marjan Tomas.
Showing 1 changed file with 5 additions and 0 deletions
tests/unit-test-server.c
... ... @@ -27,6 +27,11 @@
27 27 # include <sys/socket.h>
28 28 #endif
29 29  
  30 +/* For MinGW */
  31 +#ifndef MSG_NOSIGNAL
  32 +# define MSG_NOSIGNAL 0
  33 +#endif
  34 +
30 35 #include "unit-test.h"
31 36  
32 37 enum {
... ...