Commit 365ca859 authored by Andreas Rottmann's avatar Andreas Rottmann

Fix #include case for <mstcpip.h>

On native Windows, the file system is case-insensitive, so this this
doesn't matter there.

However, when compiling on a case-sensitive filesystem, such as when
cross-compiling from a Unixoid using mingw, we have to use the case
the file is supplied with, which is all lowercase.
parent 519940d0
......@@ -58,10 +58,10 @@
#include <iphlpapi.h>
#if !defined __MINGW32__
#include <Mstcpip.h>
#include <mstcpip.h>
#endif
// Workaround missing Mstcpip.h in mingw32 (MinGW64 provides this)
// Workaround missing mstcpip.h in mingw32 (MinGW64 provides this)
// __MINGW64_VERSION_MAJOR is only defined when using in mingw-w64
#if defined __MINGW32__ && !defined SIO_KEEPALIVE_VALS && \
!defined __MINGW64_VERSION_MAJOR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment