Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: third_party/libxml/include/wsockcompat.h

Issue 2951008: Update libxml to 2.7.7. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libxml/include/wsockcompat.h
diff --git a/third_party/libxml/include/wsockcompat.h b/third_party/libxml/include/wsockcompat.h
index 333b5614f61331f63502a588c3c9494eb3260caf..f4bdab4b6db2a288b0df168ff8c152ade5c04637 100644
--- a/third_party/libxml/include/wsockcompat.h
+++ b/third_party/libxml/include/wsockcompat.h
@@ -15,12 +15,14 @@
header when compiled with Borland C++ 6 */
#if defined(__BORLANDC__) && !defined(__cplusplus)
#define inline __inline
+#define _inline __inline
#endif
#include <ws2tcpip.h>
/* Check if ws2tcpip.h is a recent version which provides getaddrinfo() */
#if defined(GetAddrInfo)
+#include <wspiapi.h>
#define HAVE_GETADDRINFO
#endif
#endif

Powered by Google App Engine
This is Rietveld 408576698