mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
macro: Remove unneeded typedef for pa_bool_t.
This commit is contained in:
parent
24a0639a21
commit
b224716f33
1 changed files with 0 additions and 15 deletions
|
|
@ -177,21 +177,6 @@ static inline size_t PA_PAGE_ALIGN(size_t l) {
|
|||
#define PA_CLIP_SUB(a, b) ((a) > (b) ? (a) - (b) : 0)
|
||||
#endif
|
||||
|
||||
/* This type is not intended to be used in exported APIs! Use classic "int" there! */
|
||||
#ifdef HAVE_STD_BOOL
|
||||
typedef bool pa_bool_t;
|
||||
#else
|
||||
typedef int pa_bool_t;
|
||||
#endif
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE ((pa_bool_t) 0)
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE (!FALSE)
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define PA_PRETTY_FUNCTION __PRETTY_FUNCTION__
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue