Commit 73dd71ec authored by Daniel Veillard's avatar Daniel Veillard
Browse files

patch from Eric Zurcher to compile with Borland C++ 6 Daniel

* include/wsockcompat.h: patch from Eric Zurcher to compile with
  Borland C++ 6
Daniel
parent 9b528c75
Thu Feb 9 10:07:20 CET 2006 Daniel Veillard <daniel@veillard.com>
* include/wsockcompat.h: patch from Eric Zurcher to compile with
Borland C++ 6
Sun Feb 5 04:03:59 CET 2006 Daniel Veillard <daniel@veillard.com>
 
* parser.c: bill pointed out a missing block in xmlParseComment
......
......@@ -10,7 +10,15 @@
#else
#undef HAVE_ERRNO_H
#include <winsock2.h>
/* the following is a workaround a problem for 'inline' keyword in said
header when compiled with Borland C++ 6 */
#if defined(__BORLANDC__) && !defined(__cplusplus)
#define inline __inline
#endif
#include <ws2tcpip.h>
/* Check if ws2tcpip.h is a recent version which provides getaddrinfo() */
#if defined(GetAddrInfo)
#define HAVE_GETADDRINFO
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment