Check for __MINGW32__
This commit is contained in:
parent
161d4ab66a
commit
7a4760e842
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include "pstypes.h"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#if defined(__WINDOWS__) || defined(__MINGW32__)
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#include <netinet/in.h> /* for htons & co. */
|
||||
|
|
Loading…
Reference in a new issue