From f4d2287e574e825e234cc8c5e5d1b1a946edc7c2 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Fri, 29 Dec 2000 12:27:48 +0000 Subject: [PATCH] Added some experimental test code. committer: mfx 978092868 +0000 --- src/bele.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bele.h b/src/bele.h index d7054f62..9e9d35d4 100644 --- a/src/bele.h +++ b/src/bele.h @@ -253,6 +253,15 @@ int le16_compare(const void *e1, const void *e2); int le32_compare(const void *e1, const void *e2); +// just for testing... +#if 0 && defined(__i386__) && defined(__GNUC__) + typedef unsigned short LE16_unaligned __attribute__((aligned(1))); + typedef unsigned int LE32_unaligned __attribute__((aligned(1))); +# define LE16 LE16_unaligned +# define LE32 LE32_unaligned +#endif + + #endif /* already included */