mirror of https://gitee.com/openkylin/libvirt.git
Revert "Ensure xmlSaveToBuffer is always defined"
The commit originally fixed code that isn't being used. Revert
it and remove the unused code as a real fix.
This reverts commit a66b32d929
.
This commit is contained in:
parent
d3092c60f7
commit
406dc47757
|
@ -56,17 +56,6 @@
|
|||
#include "virtypedparam.h"
|
||||
#include "virxml.h"
|
||||
|
||||
/* libxml2 in RHEL4 has this symbol in the binary but it
|
||||
* is commented out in the header, despite apparently
|
||||
* working fine. This hacks around that header problem
|
||||
*/
|
||||
#ifndef xmlSaveToBuffer
|
||||
XMLPUBFUN xmlSaveCtxtPtr XMLCALL
|
||||
xmlSaveToBuffer (xmlBufferPtr buffer,
|
||||
const char *encoding,
|
||||
int options);
|
||||
#endif
|
||||
|
||||
/* Gnulib doesn't guarantee SA_SIGINFO support. */
|
||||
#ifndef SA_SIGINFO
|
||||
# define SA_SIGINFO 0
|
||||
|
|
Loading…
Reference in New Issue