This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch expat
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/expat by this push:
     new e5dd535744 Fill expat's winconfig.h with sensible defaults
e5dd535744 is described below

commit e5dd535744f2a1e0ca42a39a008b8b0f16f797cd
Author: Arrigo Marchiori <[email protected]>
AuthorDate: Mon Feb 6 22:26:49 2023 +0100

    Fill expat's winconfig.h with sensible defaults
    
    Values taken from expat 2.2.10
---
 main/expat/expat-2.5.0.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/main/expat/expat-2.5.0.patch b/main/expat/expat-2.5.0.patch
index bb902c2471..7b936b3f34 100644
--- a/main/expat/expat-2.5.0.patch
+++ b/main/expat/expat-2.5.0.patch
@@ -473,3 +473,18 @@ diff -ru misc/expat-2.5.0/lib/xmltok.c 
misc/build/expat-2.5.0/lib/xmltok.c
  #endif
  
  #include "expat_external.h"
+diff -ru misc/expat-2.5.0/lib/winconfig.h 
misc/build/expat-2.5.0/lib/winconfig.h
+--- misc/expat-2.5.0/lib/winconfig.h
++++ misc/build/expat-2.5.0/lib/winconfig.h
+@@ -42,4 +42,11 @@
+ #include <memory.h>
+ #include <string.h>
+ 
++#  define XML_NS 1
++#  define XML_DTD 1
++#  define XML_CONTEXT_BYTES 1024
++
++/* we will assume all Windows platforms are little endian */
++#  define BYTEORDER 1234
++
+ #endif /* ndef WINCONFIG_H */

Reply via email to