Unify Windows.h inclusion
Windows.h must be included first and must be included with care regarding WinSock.h and WinSock2.h affair. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Submodule MSI/MSICA updated: f943510140...5a67199179
Submodule lib/WinStd updated: b8816476e5...82935bd8e0
@@ -19,14 +19,15 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef _WIN32
|
||||
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h.
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
#include <sal.h>
|
||||
#include <istream>
|
||||
#include <ostream>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
#pragma warning(push)
|
||||
|
||||
Submodule lib/wxExtend updated: d9af15c0e6...22acac44f1
Reference in New Issue
Block a user