mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-13 13:17:36 +03:00
Fix compilation on older Visual Studio
For https://bugzilla.gnome.org/show_bug.cgi?id=666491 Reported by Matt Budd <matt.budd@gmail.com>, the added support for VS 2010 broke older version 2005 and 2008 because it assumed some of the defines where present in all versions, fix that to check the version of VS
This commit is contained in:
parent
2e1eaca637
commit
8fc913fcc9
@ -41,7 +41,7 @@
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#define ESHUTDOWN WSAESHUTDOWN
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#if (!defined(_MSC_VER) || (_MSC_VER < 1600))
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#define EALREADY WSAEALREADY
|
||||
#define ENOTSOCK WSAENOTSOCK
|
||||
|
Loading…
Reference in New Issue
Block a user