tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / external / expat / expat-winapi.patch
blobfed65644a73297b23700e50af6165b10335748aa
1 --- misc/expat-2.5.0/lib/expat_external.h 2022-10-25 01:32:54.000000000 +0900
2 +++ misc/build/expat-2.5.0/lib/expat_external.h 2022-10-30 23:09:47.339459134 +0900
3 @@ -88,10 +88,6 @@
4 # ifndef XML_BUILDING_EXPAT
5 /* using Expat from an application */
7 -# if defined(_MSC_EXTENSIONS) && ! defined(__BEOS__) && ! defined(__CYGWIN__)
8 -# define XMLIMPORT __declspec(dllimport)
9 -# endif
11 # endif
12 #endif /* not defined XML_STATIC */
14 --- misc/expat-2.5.0/lib/xmlparse.c 2022-10-26 00:09:08.000000000 +0900
15 +++ misc/build/expat-2.5.0/lib/xmlparse.c 2022-10-30 23:09:01.843006341 +0900
16 @@ -67,6 +67,9 @@
17 #endif
19 #ifdef _WIN32
20 +# undef HAVE_ARC4RANDOM_BUF
21 +# undef HAVE_GETRANDOM
22 +# undef HAVE_SYSCALL_GETRANDOM
23 /* force stdlib to define rand_s() */
24 # if ! defined(_CRT_RAND_S)
25 # define _CRT_RAND_S