annotate Aws/aws-c-io-0.14.9.patch @ 210:408c90c9027f default tip

todo: google soft delete
author Alain Mazy <am@orthanc.team>
date Wed, 09 Oct 2024 11:48:14 +0200
parents d3e7c86c3a4e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
160
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 diff -urEb aws-c-io-0.14.9.orig/include/aws/io/private/pki_utils.h aws-c-io-0.14.9/include/aws/io/private/pki_utils.h
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 --- aws-c-io-0.14.9.orig/include/aws/io/private/pki_utils.h 2024-06-04 18:27:58.000000000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 +++ aws-c-io-0.14.9/include/aws/io/private/pki_utils.h 2024-06-23 10:39:15.047978000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 @@ -9,7 +9,7 @@
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 #ifdef _WIN32
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 /* It's ok to include external headers because this is a PRIVATE header file
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 * (it is usually a crime to include windows.h from header file) */
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 -# include <Windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 +# include <windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 #endif /* _WIN32 */
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 #ifdef AWS_OS_APPLE
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 diff -urEb aws-c-io-0.14.9.orig/source/windows/iocp/iocp_event_loop.c aws-c-io-0.14.9/source/windows/iocp/iocp_event_loop.c
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 --- aws-c-io-0.14.9.orig/source/windows/iocp/iocp_event_loop.c 2024-06-04 18:27:58.000000000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 +++ aws-c-io-0.14.9/source/windows/iocp/iocp_event_loop.c 2024-06-23 10:39:15.047978000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 @@ -12,7 +12,7 @@
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 #include <aws/io/logging.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 -#include <Windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 +#include <windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 /* The next set of struct definitions are taken directly from the
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 windows documentation. We can't include the header files directly
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 diff -urEb aws-c-io-0.14.9.orig/source/windows/iocp/pipe.c aws-c-io-0.14.9/source/windows/iocp/pipe.c
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 --- aws-c-io-0.14.9.orig/source/windows/iocp/pipe.c 2024-06-04 18:27:58.000000000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 +++ aws-c-io-0.14.9/source/windows/iocp/pipe.c 2024-06-23 10:39:15.047978000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 @@ -11,7 +11,7 @@
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 #include <stdbool.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 #include <stdio.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 -#include <Windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 +#include <windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 enum read_end_state {
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 /* Pipe is open. */
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 diff -urEb aws-c-io-0.14.9.orig/source/windows/iocp/socket.c aws-c-io-0.14.9/source/windows/iocp/socket.c
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 --- aws-c-io-0.14.9.orig/source/windows/iocp/socket.c 2024-06-04 18:27:58.000000000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 +++ aws-c-io-0.14.9/source/windows/iocp/socket.c 2024-06-23 10:39:15.047978000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 @@ -9,9 +9,9 @@
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 below, clang-format doesn't work (at least on my version) with the c-style comments.*/
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 // clang-format off
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 -#include <WS2tcpip.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 -#include <MSWSock.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46 -#include <Mstcpip.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47 +#include <ws2tcpip.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 +#include <mswsock.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 +#include <mstcpip.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 // clang-format on
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 #include <aws/io/socket.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53 diff -urEb aws-c-io-0.14.9.orig/source/windows/shared_library.c aws-c-io-0.14.9/source/windows/shared_library.c
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 --- aws-c-io-0.14.9.orig/source/windows/shared_library.c 2024-06-04 18:27:58.000000000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55 +++ aws-c-io-0.14.9/source/windows/shared_library.c 2024-06-23 10:39:15.047978000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 @@ -4,7 +4,7 @@
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 */
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 // clang-format off
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 -#include <Windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61 +#include <windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 #include <libloaderapi.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 // clang-format on
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 diff -urEb aws-c-io-0.14.9.orig/source/windows/windows_pki_utils.c aws-c-io-0.14.9/source/windows/windows_pki_utils.c
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 --- aws-c-io-0.14.9.orig/source/windows/windows_pki_utils.c 2024-06-04 18:27:58.000000000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 +++ aws-c-io-0.14.9/source/windows/windows_pki_utils.c 2024-06-23 10:39:15.047978000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 @@ -10,7 +10,7 @@
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70 #include <aws/io/logging.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 -#include <Windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 +#include <windows.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74 #include <stdio.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75 #include <string.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77 diff -urEb aws-c-io-0.14.9.orig/source/windows/winsock_init.c aws-c-io-0.14.9/source/windows/winsock_init.c
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78 --- aws-c-io-0.14.9.orig/source/windows/winsock_init.c 2024-06-04 18:27:58.000000000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 +++ aws-c-io-0.14.9/source/windows/winsock_init.c 2024-06-23 10:39:15.047978000 +0200
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 @@ -8,9 +8,9 @@
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 below, clang-format doesn't work (at least on my version) with the c-style comments. */
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 // clang-format off
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 -#include <WinSock2.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85 -#include <WS2tcpip.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 -#include <MSWSock.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 +#include <winsock2.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
88 +#include <ws2tcpip.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
89 +#include <mswsock.h>
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 // clang-format on
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91
d3e7c86c3a4e added patch to build using mingw
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92 #include <aws/io/logging.h>