mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Python header workaround
This commit is contained in:
parent
f41ba90c18
commit
b11f2be30e
@ -1,3 +1,9 @@
|
||||
Fri Apr 18 14:30:12 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
Work around Python.h name-space pollution.
|
||||
* python/types.c (HAVE_PTHREAD_H): #undef.
|
||||
Without this, we'd get a redefinition warning.
|
||||
|
||||
Fri Apr 18 20:07:12 CEST 2008 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
Work around Python.h name-space pollution.
|
||||
|
@ -9,6 +9,11 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
/* Horrible kludge to work around even more horrible name-space pollution
|
||||
* via Python.h. That file includes /usr/include/python2.5/pyconfig*.h,
|
||||
* which has over 180 autoconf-style HAVE_* definitions. Shame on them. */
|
||||
#undef HAVE_PTHREAD_H
|
||||
|
||||
#include "libvirt_wrap.h"
|
||||
|
||||
PyObject *
|
||||
|
Loading…
x
Reference in New Issue
Block a user