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 338b7fb commit 04e043eCopy full SHA for 04e043e
src/mongo/bson/bson.h
@@ -55,6 +55,10 @@
55
#pragma warning(disable:4275)
56
#endif
57
58
+#if defined(_WIN32) && !defined(_WINSOCK2API_)
59
+#error "You must include the windows and windows sockets headers before bson.h"
60
+#endif
61
+
62
#include "mongo/config.h"
63
64
#include "mongo/client/redef_macros.h"
src/mongo/client/dbclient.h
@@ -42,6 +42,10 @@
42
43
44
45
46
+#error "You must include the windows and windows sockets headers before dbclient.h"
47
48
49
50
51
0 commit comments