Skip to content

Commit 894f509

Browse files
committed
Changes to libxml.
1 parent fb37d3f commit 894f509

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dict.c

+1
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,7 @@ xmlDictQLookup(xmlDictPtr dict, const xmlChar *prefix, const xmlChar *name) {
928928
#define WIN32_LEAN_AND_MEAN
929929
#include <windows.h>
930930
#include <bcrypt.h>
931+
#pragma comment(lib, "bcrypt.lib")
931932
#elif defined(HAVE_GETENTROPY)
932933
#ifdef HAVE_UNISTD_H
933934
#include <unistd.h>

include/libxml/xmlexports.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
#if defined(_WIN32) || defined(__CYGWIN__)
18-
#ifdef LIBXML_STATIC
18+
#if defined(LIBXML_STATIC) || defined(_LIB)
1919
#define XMLPUBLIC
2020
#elif defined(IN_LIBXML)
2121
#define XMLPUBLIC __declspec(dllexport)

0 commit comments

Comments
 (0)