make PA_GCC_PACKED and PA_GCC_MALLOC actually work

This commit is contained in:
Lennart Poettering 2009-02-13 18:02:47 +01:00
parent c0fb91db54
commit 44bca66c59
5 changed files with 10 additions and 10 deletions

View file

@ -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 */