summaryrefslogtreecommitdiff
path: root/src/windows.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-06-04 16:29:36 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-06-04 16:29:36 +0200
commitcf048bb1f8a665370d9e39aee2a7363327911b08 (patch)
treebd5af3e844051771646596a6d13d847bf2ea8f85 /src/windows.hpp
parent927993863eda325c66fc678810eeadd0c744cdf2 (diff)
platform.hpp for MSVC contains only very basic stuff
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