File libssh2-1.8.0-windows.patch of Package mingw32-libssh2
--- libssh2-1.8.0/include/libssh2.h 2016-10-25 06:44:34.000000000 +0000
+++ libssh2.h 2018-11-03 13:25:55.496835570 +0000
@@ -137,13 +137,13 @@
typedef long long libssh2_int64_t;
#endif
-#ifdef WIN32
+#ifdef _WIN32
typedef SOCKET libssh2_socket_t;
#define LIBSSH2_INVALID_SOCKET INVALID_SOCKET
-#else /* !WIN32 */
+#else /* !_WIN32 */
typedef int libssh2_socket_t;
#define LIBSSH2_INVALID_SOCKET -1
-#endif /* WIN32 */
+#endif /* _WIN32 */
/*
* Determine whether there is small or large file support on windows.