From 65e58e271e9ff9590c1eb3814a9e449e3c9d607a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 2 Apr 2009 15:21:20 +0200 Subject: Use packed attribute for structs --- types.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'types.h') diff --git a/types.h b/types.h index d14f887..d07adad 100644 --- a/types.h +++ b/types.h @@ -5,6 +5,13 @@ #ifndef __WII_TYPES_H__ #define __WII_TYPES_H__ +#ifndef ATTRIBUTE_ALIGN +# define ATTRIBUTE_ALIGN(v) __attribute__((aligned(v))) +#endif +#ifndef ATTRIBUTE_PACKED +# define ATTRIBUTE_PACKED __attribute__((packed)) +#endif + enum sig_type { RSA_4096 = 0x00010000, RSA_2048 = 0x00010001 -- cgit v1.1-32-gdbae