mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
Make gcc --std=c99 happy
We're now more or less C99 compliant
This commit is contained in:
parent
dfd706da71
commit
9133c6c935
5 changed files with 14 additions and 1 deletions
|
|
@ -84,6 +84,10 @@ static inline size_t PA_PAGE_ALIGN(size_t l) {
|
|||
#define PA_DECLARE_ALIGNED(n,t,v) t v
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define typeof __typeof__
|
||||
#endif
|
||||
|
||||
/* The users of PA_MIN and PA_MAX, PA_CLAMP, PA_ROUND_UP should be
|
||||
* aware that these macros on non-GCC executed code with side effects
|
||||
* twice. It is thus considered misuse to use code with side effects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue