mingw32-headers/mingw-w64-headers-1.0b.20110505-unsignedsocket.patch

13 lines
506 B
Diff
Raw Normal View History

diff -urEbwB mingw-w64-headers-1.0b.20110505/include/psdk_inc/_socket_types.h mingw-w64-headers-1.0b.20110505/include/psdk_inc/_socket_types.h
--- mingw-w64-headers-1.0b.20110505/include/psdk_inc/_socket_types.h 2011-05-19 16:05:41.592641295 +0200
+++ mingw-w64-headers-1.0b.20110505/include/psdk_inc/_socket_types.h 2011-05-19 16:06:28.030204004 +0200
@@ -7,7 +7,7 @@
#ifndef ___WSA_SOCKET_TYPES_H
#define ___WSA_SOCKET_TYPES_H
-#if 0
+#if 1
typedef UINT_PTR SOCKET;
#else
typedef INT_PTR SOCKET;