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

Unified Diff: third_party/libxml/nanoftp.c

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/nanoftp.c
diff --git a/third_party/libxml/nanoftp.c b/third_party/libxml/nanoftp.c
index 8c4ea88b09fac2c0dccb2ee71413a49c184e52d9..a54b85b3a545ac3f1e89245124219e0bee06d282 100644
--- a/third_party/libxml/nanoftp.c
+++ b/third_party/libxml/nanoftp.c
@@ -89,7 +89,7 @@
* A couple portability macros
*/
#ifndef _WINSOCKAPI_
-#ifndef __BEOS__
+#if !defined(__BEOS__) || defined(__HAIKU__)
#define closesocket(s) close(s)
#endif
#define SOCKET int

Powered by Google App Engine
This is Rietveld 408576698