mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
make PA_GCC_PACKED and PA_GCC_MALLOC actually work
This commit is contained in:
parent
c0fb91db54
commit
44bca66c59
5 changed files with 10 additions and 10 deletions
|
|
@ -88,7 +88,7 @@
|
|||
#endif
|
||||
|
||||
#ifndef PA_GCC_PACKED
|
||||
#ifdef __GNUCC__
|
||||
#ifdef __GNUC__
|
||||
#define PA_GCC_PACKED __attribute__ ((packed))
|
||||
#else
|
||||
/** Structure shall be packed in memory **/
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
#endif
|
||||
|
||||
#ifndef PA_GCC_MALLOC
|
||||
#ifdef __GNUCC__
|
||||
#ifdef __GNUC__
|
||||
#define PA_GCC_MALLOC __attribute__ ((malloc))
|
||||
#else
|
||||
/** Macro for usage of GCC's malloc attribute */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue