Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linux build #41

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ewewukek
Copy link

@ewewukek ewewukek commented Jan 4, 2024

Fixes building on Linux with:
gcc 13.2.1
libxml2 2.12.2

I believe more strict constness for __xmlParserVersion() should not affect compiling with other xml libraries.
Also I wasn't sure that including libxml/parser.h works for everyone, so I wrapped it in a #ifdef HAVE_LIBXML2

@ManaPlus ManaPlus deleted a comment from pazkero Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant