Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/aws/io/private/event_loop_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ typedef void(aws_event_loop_on_completion_fn)(
size_t num_bytes_transferred);

/**
* The aws_win32_OVERLAPPED struct is layout-compatible with OVERLAPPED as defined in <Windows.h>. It is used
* here to avoid pulling in a dependency on <Windows.h> which would also bring along a lot of bad macros, such
* The aws_win32_OVERLAPPED struct is layout-compatible with OVERLAPPED as defined in <windows.h>. It is used
* here to avoid pulling in a dependency on <windows.h> which would also bring along a lot of bad macros, such
* as redefinitions of GetMessage and GetObject. Note that the OVERLAPPED struct layout in the Windows SDK can
* never be altered without breaking binary compatibility for every existing third-party executable, so there
* is no need to worry about keeping this definition in sync.
Expand Down
2 changes: 1 addition & 1 deletion include/aws/io/private/pki_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifdef _WIN32
/* It's ok to include external headers because this is a PRIVATE header file
* (it is usually a crime to include windows.h from header file) */
# include <Windows.h>
# include <windows.h>
#endif /* _WIN32 */

#ifdef AWS_OS_APPLE
Expand Down
2 changes: 1 addition & 1 deletion source/windows/host_resolver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0.
*/

/* don't move this below the Windows.h include!!!!*/
/* don't move this below the windows.h include!!!!*/
#include <winsock2.h>
#include <ws2tcpip.h>

Expand Down
2 changes: 1 addition & 1 deletion source/windows/iocp/iocp_event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <aws/io/logging.h>
#include <aws/io/private/event_loop_impl.h>

#include <Windows.h>
#include <windows.h>

/* The next set of struct definitions are taken directly from the
windows documentation. We can't include the header files directly
Expand Down
2 changes: 1 addition & 1 deletion source/windows/iocp/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <stdbool.h>
#include <stdio.h>

#include <Windows.h>
#include <windows.h>

enum read_end_state {
/* Pipe is open. */
Expand Down
6 changes: 3 additions & 3 deletions source/windows/iocp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ keep the bellow includes where they are. Also, sorry about the C++ style comment
below, clang-format doesn't work (at least on my version) with the c-style comments.*/

// clang-format off
#include <WS2tcpip.h>
#include <MSWSock.h>
#include <Mstcpip.h>
#include <ws2tcpip.h>
#include <mswsock.h>
#include <mstcpip.h>
// clang-format on

#include <aws/io/private/socket_impl.h>
Expand Down
2 changes: 1 addition & 1 deletion source/windows/secure_channel_tls_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <aws/io/private/tls_channel_handler_shared.h>
#include <aws/io/statistics.h>

#include <Windows.h>
#include <windows.h>

#include <schannel.h>
#include <security.h>
Expand Down
2 changes: 1 addition & 1 deletion source/windows/shared_library.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

// clang-format off
#include <Windows.h>
#include <windows.h>
#include <libloaderapi.h>
// clang-format on

Expand Down
2 changes: 1 addition & 1 deletion source/windows/windows_pki_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

#include <aws/io/logging.h>

#include <Windows.h>
#include <stdio.h>
#include <string.h>
#include <windows.h>

#ifdef _MSC_VER
# pragma warning(disable : 4221) /* aggregate initializer using local variable addresses */
Expand Down
6 changes: 3 additions & 3 deletions source/windows/winsock_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ go around re-ordering windows header files. Also, sorry about the C++ style comm
below, clang-format doesn't work (at least on my version) with the c-style comments. */

// clang-format off
#include <WinSock2.h>
#include <WS2tcpip.h>
#include <MSWSock.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <mswsock.h>
// clang-format on

#include <aws/io/logging.h>
Expand Down