mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-16 06:59:55 -05:00
add new PA_GCC_PACKED macro
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2253 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
096e7f0f81
commit
29cbd88138
1 changed files with 9 additions and 0 deletions
|
|
@ -86,4 +86,13 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef PA_GCC_PACKED
|
||||||
|
#ifdef __GNUCC__
|
||||||
|
#define PA_GCC_PACKED __attribute__ ((packed))
|
||||||
|
#else
|
||||||
|
/** Structure shall be packed in memory **/
|
||||||
|
#define PA_GCC_PACKED
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue