]> Zhao Yanbai Git Server - minix.git/commitdiff
__packed defined for ACK
authorTomas Hruby <tom@minix3.org>
Fri, 6 Aug 2010 09:53:53 +0000 (09:53 +0000)
committerTomas Hruby <tom@minix3.org>
Fri, 6 Aug 2010 09:53:53 +0000 (09:53 +0000)
include/sys/cdefs.h

index c982b3307496ee7e2fce65e6a88afc9633c12d85..f793086da8c97faf0889fa92390fb82e58f2143d 100644 (file)
 #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