From: Tomas Hruby Date: Fri, 6 Aug 2010 09:53:53 +0000 (+0000) Subject: __packed defined for ACK X-Git-Tag: v3.1.8~92 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=6e614336d612a14159ea3167abd88972c2da9583;p=minix.git __packed defined for ACK --- diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h index c982b3307..f793086da 100644 --- a/include/sys/cdefs.h +++ b/include/sys/cdefs.h @@ -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