#1230 Fix msvc build breaker when building using configure.bat -W (with WebReady)

This commit is contained in:
Robin Mills 2016-11-03 12:26:28 +00:00
parent ba785b2a02
commit 0c57b55035
3 changed files with 6 additions and 2 deletions

View File

@ -6,6 +6,8 @@
///// Start of Visual Studio Support /////
#ifdef _MSC_VER
#include <winsock2.h>
#define _MSC_VER_2015 1900
#define _MSC_VER_2013 1800
#define _MSC_VER_2012 1700

View File

@ -117,7 +117,7 @@ namespace Exiv2 {
bool tryenter()
{
#ifdef MSDEV_2003
#if defined(MSDEV_2003) || defined(MSDEV_2005)
EnterCriticalSection(&lock_);
return true;
#else

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
*/
/*
File: rw2image.cpp
File: ssh.cpp
Version: $Rev: 3201 $
Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net>
History: 06-Jan-09, ahu: created
@ -29,6 +29,8 @@
#include "rcsid_int.hpp"
EXIV2_RCSID("@(#) $Id: rw2image.cpp 3201 2013-12-01 12:13:42Z ahuggel $")
// included header files
#include "config.h"
#include "ssh.hpp"
#if EXV_USE_SSH == 1
// class member definitions