| Index: third_party/libxml/patches/win32-no-posix-error-codes
|
| diff --git a/third_party/libxml/patches/win32-no-posix-error-codes b/third_party/libxml/patches/win32-no-posix-error-codes
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..38be7f7c513d2fe45ce4d739e22907763075f9eb
|
| --- /dev/null
|
| +++ b/third_party/libxml/patches/win32-no-posix-error-codes
|
| @@ -0,0 +1,14 @@
|
| +diff --git a/third_party/libxml/src/libxml.h b/third_party/libxml/src/libxml.h
|
| +index 1656ac2..f8a368c 100644
|
| +--- a/third_party/libxml/src/libxml.h
|
| ++++ b/third_party/libxml/src/libxml.h
|
| +@@ -17,6 +17,9 @@
|
| + #define _FILE_OFFSET_BITS 64
|
| + #endif
|
| + #endif
|
| ++#ifndef _CRT_NO_POSIX_ERROR_CODES
|
| ++#define _CRT_NO_POSIX_ERROR_CODES
|
| ++#endif
|
| +
|
| + #if defined(macintosh)
|
| + #include "config-mac.h"
|
|
|