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 6f6d808 commit 41910f7Copy full SHA for 41910f7
lldb/tools/lldb-dap/IOStream.h
@@ -10,13 +10,8 @@
10
#define LLDB_TOOLS_LLDB_DAP_IOSTREAM_H
11
12
#if defined(_WIN32)
13
-// We need to #define NOMINMAX in order to skip `min()` and `max()` macro
14
-// definitions that conflict with other system headers.
15
-// We also need to #undef GetObject (which is defined to GetObjectW) because
16
-// the JSON code we use also has methods named `GetObject()` and we conflict
17
-// against these.
18
-#define NOMINMAX
19
-#include <windows.h>
+#include "lldb/Host/windows/windows.h"
+#include <winsock2.h>
20
#else
21
typedef int SOCKET;
22
#endif
0 commit comments