]> git.pld-linux.org Git - packages/crossmingw32-pthreads-w32.git/blob - pthreads4w-winsock.patch
- added winsock patch (avoid including <winsock.h> in _ptw32.h, <winerror.h> is enoug...
[packages/crossmingw32-pthreads-w32.git] / pthreads4w-winsock.patch
1 Avoid <winsock.h> as it conflicts with <winsock2.h>; <winerror.h> is enough here
2
3 --- pthreads4w-code-9808f0b151e6c6efe2d57f3b54a1fb9a19d1eb88/_ptw32.h.orig      2018-08-08 12:49:00.000000000 +0200
4 +++ pthreads4w-code-9808f0b151e6c6efe2d57f3b54a1fb9a19d1eb88/_ptw32.h   2023-07-05 20:16:58.381825453 +0200
5 @@ -165,7 +165,7 @@
6     * note: ETIMEDOUT is no longer defined in winsock.h
7     * WSAETIMEDOUT is so use its value.
8     */
9 -#  include <winsock.h>
10 +#  include <winerror.h>
11  #  if defined(WSAETIMEDOUT)
12  #    define ETIMEDOUT WSAETIMEDOUT
13  #  else
This page took 0.099949 seconds and 3 git commands to generate.