From cf048bb1f8a665370d9e39aee2a7363327911b08 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 4 Jun 2010 16:29:36 +0200 Subject: platform.hpp for MSVC contains only very basic stuff --- src/windows.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/windows.hpp') 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 -- cgit v1.2.3