diff options
author | Martin Szulecki | 2009-04-02 15:21:20 +0200 |
---|---|---|
committer | Martin Szulecki | 2009-04-02 15:21:20 +0200 |
commit | 65e58e271e9ff9590c1eb3814a9e449e3c9d607a (patch) | |
tree | 2b1db89affda5faa523291a18a376a46b14899c3 /types.h | |
parent | 9c1ded3b0ae8e540177ee0c0baa1f9c8fcf91989 (diff) | |
download | wiiwadtools-65e58e271e9ff9590c1eb3814a9e449e3c9d607a.tar.gz wiiwadtools-65e58e271e9ff9590c1eb3814a9e449e3c9d607a.tar.bz2 |
Use packed attribute for structs
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |