We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1c892 commit 7c8e891Copy full SHA for 7c8e891
Release/tests/functional/websockets/utilities/stdafx.h
@@ -29,6 +29,13 @@
29
// This header is required to define _MS_WINDOWS
30
#include "cpprest/xxpublic.h"
31
32
+#if defined(_MS_WINDOWS) && _MSC_VER < 1800
33
+// pplxtasks.h includes Windows.h on VS2012 only WinRT, which is terrible.
34
+// Need to include before to avoid winsock issues with websocketpp.
35
+#define NOMINMAX
36
+#include <winsock2.h>
37
+#endif
38
+
39
#include "cpprest/uri.h"
40
#include "cpprest/asyncrt_utils.h"
41
#include "cpprest/streams.h"
0 commit comments