summaryrefslogtreecommitdiff
path: root/src/windows.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.hpp')
-rw-r--r--src/windows.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/windows.hpp b/src/windows.hpp
index 81c4d38..35024ba 100644
--- a/src/windows.hpp
+++ b/src/windows.hpp
@@ -23,6 +23,10 @@
// The purpose of this header file is to turn on only the items actually needed
// on the windows platform.
+#define _WINSOCKAPI_
+#define NOMINMAX
+#define _CRT_SECURE_NO_WARNINGS
+
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif