build: Don't limit pulseaudio-fake header to introspection

We'll soon need the types for glib-mkenums as well.

https://gitlab.gnome.org/GNOME/libgnome-volume-control/merge_requests/8
This commit is contained in:
Florian Müllner 2019-11-23 02:41:21 +01:00
parent 43be5d272c
commit 647e24625a

View File

@ -21,14 +21,10 @@
#ifndef __GVC_PULSEAUDIO_FAKE_H #ifndef __GVC_PULSEAUDIO_FAKE_H
#define __GVC_PULSEAUDIO_FAKE_H #define __GVC_PULSEAUDIO_FAKE_H
#ifdef WITH_INTROSPECTION
#ifndef PA_API_VERSION #ifndef PA_API_VERSION
#define pa_channel_position_t int #define pa_channel_position_t int
#define pa_volume_t guint32 #define pa_volume_t guint32
#define pa_context gpointer #define pa_context gpointer
#endif /* PA_API_VERSION */ #endif /* PA_API_VERSION */
#endif /* WITH_INTROSPECTION */
#endif /* __GVC_PULSEAUDIO_FAKE_H */ #endif /* __GVC_PULSEAUDIO_FAKE_H */