__packed defined for ACK

This commit is contained in:
Tomas Hruby 2010-08-06 09:53:53 +00:00
parent c3c97e66b1
commit 6e614336d6

View file

@ -242,6 +242,10 @@
#define __packed _Pragma("packed 1")
#define __aligned(x) _Pragma("aligned " __STRING(x))
#define __section(x) _Pragma("section " ## x)
#elif defined(__ACK__)
#define __packed
#define __aligned(x) error: no __aligned for this compiler
#define __section(x) error: no __section for this compiler
#else
#define __packed error: no __packed for this compiler
#define __aligned(x) error: no __aligned for this compiler