1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-05 20:55:47 +03:00

Correct Windows include file name case, simplifying cross-compilation

When cross compiling to Windows, libssh2.h include Windows header files
with upper case filenames : BaseTsd.h and WinSock2.h.

These files have lowercase names with mingw-w64 (iirc, it's the same with
mingw). And as on Windows, being lowercase or uppercase does not matter.
This commit is contained in:
Vincent Torri
2011-10-31 11:32:52 +01:00
committed by Henrik Nordstrom
parent f4e5ca2f14
commit a0e13cc828

View File

@@ -88,8 +88,8 @@
extern "C" {
#endif
#ifdef _WIN32
# include <BaseTsd.h>
# include <WinSock2.h>
# include <basetsd.h>
# include <winsock2.h>
#endif
#include <stddef.h>