Skip to content
Snippets Groups Projects
Commit 4dab6613f318 authored by Chun-wei Fan's avatar Chun-wei Fan
Browse files

python/types.c: Fix building against older libxml2

The XML_IGNORE_FPTR_CAST_WARNINGS and XML_POP_WARNINGS macros were added very
recently, so define them as nothing if they aren't defined upon including the
libxml2 headers.
parent b5eaa60d1476
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,13 @@
#ifdef _WIN32
#ifndef XML_IGNORE_FPTR_CAST_WARNINGS
#define XML_IGNORE_FPTR_CAST_WARNINGS
#endif
#ifndef XML_POP_WARNINGS
#define XML_POP_WARNINGS
#endif
#include <windows.h>
#include <crtdbg.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment