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:
Lennart Poettering 2008-04-11 16:51:21 +00:00
parent 096e7f0f81
commit 29cbd88138

View file

@ -86,4 +86,13 @@
#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