mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-11-24 08:24:23 +03:00
Workaround python header file insanity
The /usr/include/python/pyconfig.h file pollutes the global namespace with a huge number of HAVE_XXX and WITH_XXX defines. These change what we detected in our own config.h In particular if you try to build without DTrace, python's headers turn it back on with predictable fail. THe hack to workaround this is to rename WITH_DTRACE to WITH_DTRACE_PROBES to avoid the namespace clash
This commit is contained in:
@@ -247,7 +247,7 @@
|
||||
# define VIR_DIV_UP(value, size) (((value) + (size) - 1) / (size))
|
||||
|
||||
|
||||
# if WITH_DTRACE
|
||||
# if WITH_DTRACE_PROBES
|
||||
# ifndef LIBVIRT_PROBES_H
|
||||
# define LIBVIRT_PROBES_H
|
||||
# include "probes.h"
|
||||
|
||||
Reference in New Issue
Block a user